Skip to content

Does not work on real device #4

Description

@elmcapp

I used the following code. It works on the simulator however it does not work on real device. On real device I am not sure it its running any of this code as it does not work however on simulator everything works good.

import RNIosSettingsBundle from 'react-native-ios-settings-bundle'; componentDidMount(){ RNIosSettingsBundle.get('screenon',(err,value)=>{ if(value && !err) // my special task else console.log(err); }) }

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