Skip to content

Does not work on real device #4

@elmcapp

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); }) }

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