Skip to content

Background mode doesn't work !  #46

Description

@jonathanroze

Hey,

I'm working on an app which send a notification to user when a ibeacon is around him ! But i have a problem, when my app is running on screen, everything works but when i go on home, nothing ! The application do anything !

I've enabled Background Mode, add some key in info.plist ! I've tried to add some line :

 if ([launchOptions objectForKey:@"UIApplicationLaunchOptionsLocationKey"]) {
    NSLog(@"DID RECIEVE REGION");
}

And i have set

Beacons.requestAlwaysAuthorization();

But it's not fired ! Do you have an idea?

My react-native version : 0.40
IOS : 10.2

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions