@intercom/intercom-react-native
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "@intercom/intercom-react-native", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "React Native wrapper to bridge our iOS and Android SDK", | ||
@@ -29,3 +29,2 @@ "main": "lib/commonjs/index", | ||
"prepare": "bob build", | ||
"release": "release-it --access public", | ||
"example": "yarn --cwd example", | ||
@@ -58,5 +57,3 @@ "pods": "cd example && pod-install --quiet", | ||
"devDependencies": { | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@react-native-community/eslint-config": "^2.0.0", | ||
"@release-it/conventional-changelog": "^2.0.0", | ||
"@types/jest": "^26.0.0", | ||
@@ -67,7 +64,5 @@ "@types/mocha": "^8.2.2", | ||
"@wdio/mocha-framework": "^7.7.2", | ||
"commitlint": "^11.0.0", | ||
"eslint": "^7.2.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"husky": "^4.2.5", | ||
"jest": "^26.0.1", | ||
@@ -79,3 +74,2 @@ "pod-install": "^0.1.0", | ||
"react-native-builder-bob": "^0.18.0", | ||
"release-it": "^14.2.2", | ||
"typescript": "^4.1.3", | ||
@@ -95,29 +89,2 @@ "webdriverio": "^7.7.2" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "yarn lint && yarn typescript" | ||
} | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"release-it": { | ||
"git": { | ||
"commitMessage": "chore: release ${version} [skip ci]", | ||
"tagName": "v${version}" | ||
}, | ||
"npm": { | ||
"publish": true | ||
}, | ||
"github": { | ||
"release": true | ||
}, | ||
"plugins": { | ||
"@release-it/conventional-changelog": { | ||
"preset": "angular" | ||
} | ||
} | ||
}, | ||
"eslintConfig": { | ||
@@ -124,0 +91,0 @@ "root": true, |
@@ -180,2 +180,8 @@ # Welcome to @intercom/intercom-react-native 👋 | ||
@Override | ||
public void onNewToken(String refreshedToken) { | ||
IntercomModule.sendTokenToIntercom(getApplication(), refreshedToken); | ||
//DO LOGIC HERE | ||
} | ||
public void onMessageReceived(RemoteMessage remoteMessage) { | ||
@@ -182,0 +188,0 @@ if (IntercomModule.isIntercomPush(remoteMessage)) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17
923
210150