react-native-kore-botsdk-qa
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published
Kora bot SDK in React native

 

Libs required:
"@react-native-async-storage/async-storage": "^1.23.1",
npm i --save-dev @types/react-native-charts-wrapper": "^0.5.11,
"react-native-charts-wrapper": "^0.6.0",
"react-native-gesture-handler": "^2.14.0",
"react-native-reanimated": "^3.7.2"
"@react-native-picker/picker": "^2.6.1"

"moment": "^2.30.1",
"react-moment": "^1.1.3",
npm i --save-dev @types/moment-range

 

babel.config.js
module.exports = {
presets: ["module:metro-react-native-babel-preset"],
plugins: ["react-native-reanimated/plugin",],
};

 

 

Android app/build.gradle

dependencies { implementation project(path: ':react-native-fast-image') implementation project(path: ':react-native-pure-jwt') implementation project(path: ':react-native-reanimated') implementation project(path: ':react-native-orientation-locker')

implementation ("com.facebook.fresco:animated-gif:3.1.0")

}

Android MainApplication

public class MainApplication extends Application implements ReactApplication {

protected List getPackages() { @SuppressWarnings("UnnecessaryLocalVariable") List packages = new PackageList(this).getPackages();

      packages.addAll(new ArrayList<>(Arrays.<ReactPackage>asList(
              new FastImageViewPackage(),
              new RNPureJwtPackage(),
              new ReanimatedPackage(),
        new OrientationPackage()
      )));
      // Packages that cannot be autolinked yet can be added manually here, for example:
      // packages.add(new MyReactNativePackage());
      return packages;
    }

}

Android settings.gradle

// Helper function to include native modules def includeModule(name) { include ":${name}" project(":${name}").projectDir = new File(rootProject.projectDir, "../node_modules/${name}/android") }

// List of native modules to include def nativeModules = [ 'react-native-vector-icons', 'react-native-fast-image', 'react-native-reanimated', 'react-native-pure-jwt', 'react-native-reanimated-carousel', 'react-native-orientation-locker', ]

// Include and set project directory for each native module nativeModules.each { includeModule(it) }

 

Package Sidebar

Install

npm i react-native-kore-botsdk-qa

Homepage

kore.ai/

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

6.95 MB

Total Files

69

Last publish

Collaborators

  • sathishkumarchalla