bkonyi/FlutterGeofencing

Not work in release mode

Opened this issue · 5 comments

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

@bkonyi Maybe you know the reason?

@bkonyi I'm also facing the same issue

@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

@pranil-iottive on which functions?

@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