pointzi-react
Advanced tools
Comparing version
39
index.js
@@ -1,2 +0,37 @@ | ||
import {NativeModules} from 'react-native'; | ||
module.exports = NativeModules.PointziReact; | ||
import { NativeModules } from "react-native"; | ||
var pz = Object.create(NativeModules.PointziReact); | ||
pz.tagCuid = function (tag) { | ||
NativeModules.PointziReact.tagCuid(String(tag)); | ||
}; | ||
pz.tagString = function (key, tag) { | ||
NativeModules.PointziReact.tagString(String(key), String(tag)); | ||
}; | ||
pz.tagDatetime = function (key, date) { | ||
NativeModules.PointziReact.tagDatetime(String(key), String(date)); | ||
}; | ||
pz.removeTag = function (key) { | ||
NativeModules.PointziReact.removeTag(String(key)); | ||
}; | ||
pz.tagUserLanguage = function (language) { | ||
NativeModules.PointziReact.tagUserLanguage(String(language)); | ||
}; | ||
pz.showGuide = function (id) { | ||
NativeModules.PointziReact.showGuide(String(id)); | ||
}; | ||
pz.pointziReactWillDidMount = function (reactViewName) { | ||
NativeModules.PointziReact.pointziReactWillDidMount(String(reactViewName)); | ||
}; | ||
pz.viewWillRender = function (reactViewName) { | ||
NativeModules.PointziReact.viewWillRender(String(reactViewName)); | ||
}; | ||
module.exports = pz; |
{ | ||
"name": "pointzi-react", | ||
"version": "1.7.0", | ||
"version": "1.7.1-beta.0", | ||
"description": "This is an IOS/Android wrapper file for Pointzi that allows the use of Pointzi in React Native Enviroment", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
26721
3.45%140
22.81%3
50%