I do not want to see an error if the user doesn't have a mail app installed.
Error message;
Could not open URL 'mailto:XXX@gmail.com?subject=Hymnbook': No Activity found to handle Intent { act=android.intent.action.VIEW dat=mailto:xx.xxxxxxx@xxxxx.xxxxxxxxxxxxxxxxxxxx flg=0x10000000 }
Error json:
{"nativeStackAndroid":[{"lineNumber":132,"file":"IntentModule.java","methodName":"openURL","class":"com.facebook.react.modules.intent.IntentModule"},{"lineNumber":-2,"file":"Method.java","methodName":"invoke","class":"java.lang.reflect.Method"},{"lineNumber":372,"file":"JavaMethodWrapper.java","methodName":"invoke","class":"com.facebook.react.bridge.JavaMethodWrapper"},{"lineNumber":188,"file":"JavaModuleWrapper.java","methodName":"invoke","class":"com.facebook.react.bridge.JavaModuleWrapper"},{"lineNumber":-2,"file":"NativeRunnable.java","methodName":"run","class":"com.facebook.jni.NativeRunnable"},{"lineNumber":938,"file":"Handler.java","methodName":"handleCallback","class":"android.os.Handler"},{"lineNumber":99,"file":"Handler.java","methodName":"dispatchMessage","class":"android.os.Handler"},{"lineNumber":27,"file":"MessageQueueThreadHandler.java","methodName":"dispatchMessage","class":"com.facebook.react.bridge.queue.MessageQueueThreadHandler"},{"lineNumber":201,"file":"Looper.java","methodName":"loopOnce","class":"android.os.Looper"},{"lineNumber":288,"file":"Looper.java","methodName":"loop","class":"android.os.Looper"},{"lineNumber":228,"file":"MessageQueueThreadImpl.java","methodName":"run","class":"com.facebook.react.bridge.queue.MessageQueueThreadImpl$4"},{"lineNumber":920,"file":"Thread.java","methodName":"run","class":"java.lang.Thread"}],"userInfo":null,"message":"Could not open URL 'mailto:XXX@gmail.com?subject=Hymnbook': No Activity found to handle Intent { act=android.intent.action.VIEW dat=mailto:xx.xxxxxxx@xxxxx.xxxxxxxxxxxxxxxxxxxx flg=0x10000000 }","code":"EUNSPECIFIED"}
Error: Could not open URL 'mailto:XXX@gmail.com?subject=Hymnbook': No Activity found to handle Intent { act=android.intent.action.VIEW dat=mailto:xx.xxxxxxx@xxxxx.xxxxxxxxxxxxxxxxxxxx flg=0x10000000 } at promiseMethodWrapper (address at index.android.bundle:1:81245) at openURL (address at index.android.bundle:1:605795) at openLink (address at index.android.bundle:1:1185402) at open (address at index.android.bundle:1:2216483) at _performTransitionSideEffects (address at index.android.bundle:1:389922) at _receiveSignal (address at index.android.bundle:1:389512) at onResponderRelease (address at index.android.bundle:1:388326) at onResponderRelease (address at index.android.bundle:1:384135) at apply (native) at invokeGuardedCallbackImpl (address at index.android.bundle:1:312209) at apply (native) at invokeGuardedCallback (address at index.android.bundle:1:312266) at apply (native) at invokeGuardedCallbackAndCatchFirstError (address at index.android.bundle:1:312298) at executeDispatch (address at index.android.bundle:1:312430) at executeDispatchesAndReleaseTopLevel (address at index.android.bundle:1:316679) at forEach (native) at forEachAccumulated (address at index.android.bundle:1:313928) at anonymous (address at index.android.bundle:1:317031) at batchedUpdatesImpl (address at index.android.bundle:1:376126) at batchedUpdates (address at index.android.bundle:1:316599) at _receiveRootNodeIDEvent (address at index.android.bundle:1:316872) at receiveTouches (address at index.android.bundle:1:370910) at apply (native) at __callFunction (address at index.android.bundle:1:85927) at anonymous (address at index.android.bundle:1:84279) at __guard (address at index.android.bundle:1:85232) at callFunctionReturnFlushedQueue (address at index.android.bundle:1:84237)
Error original code: EUNSPECIFIED
Error name: Error
I do not want to see an error if the user doesn't have a mail app installed.
Error message;
Error json:
Error native stack:
Error stack:
Error original code:
EUNSPECIFIED
Error name:Error
Rollbar error:
Failed to open URL