Skip to content

Commit

Permalink
v3.1.0 - Updated README and simplified it for easier example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor D committed May 13, 2024
1 parent 2bbe583 commit 32fc068
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,7 @@ import {showLocation} from 'react-native-map-link';

showLocation({
address: '1600 Pennsylvania Avenue NW, Washington, DC 20500', // Required if replacing latitude and longitude
title: 'The White House', // optional
alwaysIncludeGoogle: true, // optional, true will always add Google Maps to iOS and open in Safari, even if app is not installed (default: false)
dialogTitle: 'This is the dialog Title', // optional (default: 'Open in Maps')
dialogMessage: 'This is the amazing dialog Message', // optional (default: 'What app would you like to use?')
cancelText: 'This is the cancel button text', // optional (default: 'Cancel')
appsWhiteList: ['google-maps'], // optionally you can set which apps to show (default: will show all supported apps installed on device)
naverCallerName: 'com.example.myapp', // to link into Naver Map You should provide your appname which is the bundle ID in iOS and applicationId in android.
appTitles: { 'google-maps': 'My custom Google Maps title' }, // optionally you can override default app titles
app: 'uber', // optionally specify specific app to use
app: 'comgooglemaps', // optionally specify specific app to use
});
```

Expand Down

0 comments on commit 32fc068

Please sign in to comment.