react-native-appboy-sdk
Advanced tools
Comparing version 1.7.3 to 1.8.0
@@ -0,1 +1,10 @@ | ||
## 1.8.0 | ||
##### Breaking | ||
- Updated the native Android bridge to [Braze Android SDK 2.7.0](https://github.com/Appboy/appboy-android-sdk/blob/master/CHANGELOG.md#270). | ||
- Updated the native iOS bridge to [Braze iOS SDK 3.8.3](https://github.com/Appboy/appboy-ios-sdk/releases/tag/3.8.3). | ||
##### Added | ||
- Added `setLocationCustomAttribute()` to the `Appboy` interface to allow setting of custom location attributes. | ||
## 1.7.3 | ||
@@ -2,0 +11,0 @@ |
12
index.js
@@ -461,2 +461,14 @@ const AppboyReactBridge = require('react-native').NativeModules.AppboyReactBridge; | ||
/** | ||
* Sets a custom location attribute for the user. | ||
* @param {string} key - The identifier of the custom attribute. Limited to 255 characters in length, cannot begin with | ||
* a $, and can only contain alphanumeric characters and punctuation. | ||
* @param {double} latitude - Location latitude. | ||
* @param {double} longitude - Location longitude. | ||
* @param {function(error, result)} callback - A callback that receives the function call result. | ||
*/ | ||
setLocationCustomAttribute: function(key, latitude, longitude, callback) { | ||
callFunctionWithCallback(AppboyReactBridge.setLocationCustomAttribute, [key, latitude, longitude], callback); | ||
}, | ||
// Enums | ||
@@ -463,0 +475,0 @@ CardCategory: { |
{ | ||
"name": "react-native-appboy-sdk", | ||
"version": "1.7.3", | ||
"version": "1.8.0", | ||
"description": "Braze SDK for React Native.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
106615
997