I see where you’re going with this.
Then you’ll need to use the technique Nick suggested. Assuming you don’t crash/encounter an error during the review you should be fine.
Since errors should be non-existent or rare that should be a non-issue.
-Ed
I see where you’re going with this.
Then you’ll need to use the technique Nick suggested. Assuming you don’t crash/encounter an error during the review you should be fine.
Since errors should be non-existent or rare that should be a non-issue.
-Ed
The native.requestExit() is the preferred way to exit a non-iOS app, which based on iOS users expectations an app should never exit. This means that native.requestExit() can be safely called on iOS and it will be ignored giving you a cross-platform solution.
However in the case where you caught an exception and need to force an exit, you would probably in that case need to determine the platform and call os.exit() if you’re on iOS, tvOS and potentially macOS. But on Android, you should still try and use native.requestExit().
Rob
Yeah that makes sense, thank you very much Ed and Rob.