Answers for "gmail launch in react native"

0

react native open gmail app

openMailApp() {
    if (Platform.OS === 'android') {
      NativeModules.UIMailLauncher.launchMailApp(); // UIMailLauncher is the 
      return;
    }
    Linking.openURL('message:0'); // iOS
    return;
  }
Posted by: Guest on May-07-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language