trimble-maps-cpik-react-native-library

10.27.0-2914 • Public • 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.

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

Readme

Keywords

Package Sidebar

Install

npm i trimble-maps-cpik-react-native-library

Weekly Downloads

195

Version

10.27.0-2914

License

ISC

Unpacked Size

197 MB

Total Files

398

Last publish

Collaborators

  • trimble_maps