1.0.8 • Published 2 years ago

react-native-roamcharge v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-native-roamcharge

This is a react native wrapper over Native SDK of Roamcharge platform by Deepfleet

Reachout to support@deepfleet.com for your API Key

Getting started

$ npm install react-native-roamcharge --save

Mostly automatic installation

$ react-native link react-native-roamcharge

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-roamcharge and add RNRoamcharge.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNRoamcharge.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNRoamchargePackage; to the imports at the top of the file
  • Add new RNRoamchargePackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-roamcharge'
    project(':react-native-roamcharge').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-roamcharge/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-roamcharge')

Usage

import RNRoamcharge from 'react-native-roamcharge';

// What to do with the module?
RNRoamcharge.show({API_KEY:'YOUR API KEY'});

react-native-roamcharge is Copyright (c) 2022 Deepfleet Pvt Ltd. It is distributed under the MIT License.

License

We ♥ open source software! .Distributed under the MIT License.

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago