React-Native (Beta) - Quick Integration

1. Installation with NPM#

Shipbook is available through: NPM

npm i @shipbook/react-native

2. Initializing ShipBook into your code#

To initialize shipbook, add the following:

import shipbook from '@shipbook/react-native';
shipBook.start("YOUR_APP_ID", "YOUR_APP_KEY");

3. Adding logs#

The usage of the logs:

Log.e("the log message"); // Error log
Log.w("the log message"); // Warning log
Log.i("the log message"); // Info log
Log.d("the log message"); // Debug log
Log.v("the log message"); // Verbose log

4. Run your app to verify installation.#