trimble-maps-cpik-react-native-library
v10.28.2-256
Published
In react native, you can provide a dependency library or component name in package.json. It will download all of the dependent components when you run “npm install”. The following is sample code for package.json.
Downloads
652
Readme
In react native, you can provide a dependency library or component name in package.json. It will download all of the dependent components when you run “npm install”. The following is sample code for package.json.
JSON "dependencies": { "trimble-maps-cpik-react-native-library": "{CoPilot version number}" //For example "10.14.0.425". },
Add the details below to the AndroidManifest.xml in the android application
First we need to add some attributes to the main activity in your application that is used on startup.
XML android:name="com.alk.helloworld.MainActivity" android:multiprocess="false" android:configChanges="mcc|mnc|locale|keyboard|keyboardHidden|orientation|screenSize|fontScale|uiMode|smallestScreenSize|screenLayout" android:launchMode="singleTask" android:label="@string/mainactivity_label" android:windowSoftInputMode="stateHidden|adjustPan">
<action android:name="android.intent.action.MAIN">
<category android:name="android.intent.category.LAUNCHER">
The application will also need to add the following services and metadata to the 'application' element inside the Android Manifest.
XML
Finally, the application will need additional permission access inside the 'manifest' element, sibling to the 'application' element in the xml tree.
XML