Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not work in release mode #88

Open
vovaklh opened this issue Dec 3, 2022 · 5 comments
Open

Not work in release mode #88

vovaklh opened this issue Dec 3, 2022 · 5 comments

Comments

@vovaklh
Copy link

vovaklh commented Dec 3, 2022

The plugin not work on release mode in Android and IOS. Only in debug and profile. I can't understand what is the reason

@vovaklh
Copy link
Author

vovaklh commented Dec 3, 2022

@bkonyi Maybe you know the reason?

@pranil-iottive
Copy link

@bkonyi I'm also facing the same issue

@pranil-iottive
Copy link

@vovaklh i found the solution and it worked for me.

I've added @pragma('vm:entry-point') on top functions which I've used to access the functionalities of the package

@marcolettieri
Copy link
Contributor

@pranil-iottive on which functions?

@pranil-iottive
Copy link

@marcolettieri I've used top-level functions, such as IsolateNameServer usage and callback functions for added geofences .

Screenshot 2023-05-08 at 12 23 22 PM

such as this function

francescopedronomnys added a commit to francescopedronomnys/FlutterGeofencingOmnys that referenced this issue May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants