Commit Graph

2 Commits

Author SHA1 Message Date
Marcus Crafter
a36292dfe6
Correct types for those calls that refer to a method that returns a boolean rather than a promise 2020-06-09 15:49:02 +10:00
Danthony Pabon
3d5c7eebcb Improvement in general
*The existing code was improved to return promises every time it is called
*Added the function to know if the device has activated the development function
*Other improvement in general

//New  use way  
async componentDidMount() {
 // Check if device has development settings enabled
  let Dev = await JailMonkey.isDevelopmentSettingsMode()
  console.log(Dev) // true or false 
}
2019-07-25 10:13:12 -04:00