platform
Platform detection and normalization.
Getting Started
App.accessRule('maps://*', { launchExternal: true });
1if (Platform.isAndroid) { 2 // Android specific logic 3} 4 5if (Platform.isIos) { 6 // iOS specific logic 7} 8 9Platform.phoneCall('+12223334444'); 10 11Platform.textMessage('+12223334444'); 12 13Platform.sendEmail('support@dispatch.me', 'Loving your packages'); 14 15Platform.openMap('170 Milk Street, Boston MA');