react-native-module-fhp-ios
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published

react-native-module-fhp-ios

React Native module with FHP

Installation

npm install react-native-module-fhp-ios

Android

Add to the project android/build.gradle file:

apply from: "../node_modules/react-native-module-fhp-ios/android/fhp.gradle"

Usage

import { setLogURL, enableDebugLogs, setCustomerId, run, setTargetURL, enableCapability, Capability, disableCapability, stop } from 'react-native-module-fhp-ios';

// ...

  enableDebugLogs();
  setCustomerId("react-native-i", (error: any) => {
    console.log(error);
  });
  setTargetURL("https://group-ib.com", (error: any) => {
    console.log(error);
  });
  enableCapability(Capability.Swizzle, (error: any, isRun: Boolean) => {
    if (error) {
      console.log(error);
    }
    console.log("Capability run status " + isRun);
  });
  run((error: any) => {
    console.log("Run error console");
    console.log(error);
  });

Package Sidebar

Install

npm i react-native-module-fhp-ios

Homepage

group-ib.com

Weekly Downloads

3

Version

1.4.1

License

none

Unpacked Size

15.4 MB

Total Files

103

Last publish

Collaborators

  • ahmedatefahn