Skip to content

Commit

Permalink
Release version 1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyorbin committed Jul 20, 2020
1 parent bcac45d commit 1d10e3a
Show file tree
Hide file tree
Showing 17 changed files with 620 additions and 34 deletions.
12 changes: 11 additions & 1 deletion AppboyProject/AppboyProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import {
Linking,
Alert,
TextInput,
Platform
Platform,
DeviceEventEmitter
} from 'react-native';

const ReactAppboy = require('react-native-appboy-sdk');
Expand Down Expand Up @@ -86,6 +87,15 @@ class AppboyProject extends Component {
ReactAppboy.addListener(ReactAppboy.Events.CONTENT_CARDS_UPDATED, function() {
console.log('Content Cards Updated.');
})

this._listener = DeviceEventEmitter.addListener("inAppMessageReceived", function(event) {
let inAppMessage = new ReactAppboy.BrazeInAppMessage(event.inAppMessage);
ReactAppboy.logInAppMessageClicked(inAppMessage);
ReactAppboy.logInAppMessageImpression(inAppMessage);
ReactAppboy.logInAppMessageButtonClicked(inAppMessage, 0);
that._showToast('inAppMessage received in the React layer');
console.log(inAppMessage);
})
}

componentWillUnmount() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
package com.appboyproject;

import com.appboy.Constants;
import com.appboy.models.IInAppMessage;
import com.appboy.models.MessageButton;
import com.appboy.ui.inappmessage.AppboyInAppMessageManager;
import com.appboy.ui.inappmessage.InAppMessageCloser;
import com.appboy.ui.inappmessage.InAppMessageOperation;
import com.appboy.ui.inappmessage.listeners.IInAppMessageManagerListener;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Toast;

import com.facebook.react.bridge.WritableMap;
import com.facebook.react.bridge.WritableNativeMap;
import com.facebook.react.modules.core.DeviceEventManagerModule;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
Expand All @@ -27,6 +37,50 @@ protected void onCreate(Bundle savedInstanceState) {
Toast.makeText(this, "Activity opened by deep link: " + data.toString(), Toast.LENGTH_LONG);
Log.i(TAG, "Deep link is " + data.toString());
}
class BrazeInAppMessageManagerListener implements IInAppMessageManagerListener {
@Override
public boolean onInAppMessageReceived(IInAppMessage inAppMessage) {
return false;
}

@Override
public InAppMessageOperation beforeInAppMessageDisplayed(IInAppMessage inAppMessage) {
WritableMap parameters = new WritableNativeMap();
parameters.putString("inAppMessage", inAppMessage.forJsonPut().toString());
getReactNativeHost().getReactInstanceManager().getCurrentReactContext()
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
.emit("inAppMessageReceived", parameters);
// Note: return InAppMessageOperation.DISCARD if you would like
// to prevent the Braze SDK from displaying the message natively.
return InAppMessageOperation.DISPLAY_NOW;
}

@Override
public boolean onInAppMessageClicked(IInAppMessage inAppMessage, InAppMessageCloser inAppMessageCloser) {
return false;
}

@Override
public boolean onInAppMessageButtonClicked(IInAppMessage inAppMessage, MessageButton button, InAppMessageCloser inAppMessageCloser) {
return false;
}

@Override
public void onInAppMessageDismissed(IInAppMessage inAppMessage) { }

@Override
public void beforeInAppMessageViewOpened(View inAppMessageView, IInAppMessage inAppMessage) { }

@Override
public void afterInAppMessageViewOpened(View inAppMessageView, IInAppMessage inAppMessage) { }

@Override
public void beforeInAppMessageViewClosed(View inAppMessageView, IInAppMessage inAppMessage) { }

@Override
public void afterInAppMessageViewClosed(IInAppMessage inAppMessage) { }
}
AppboyInAppMessageManager.getInstance().setCustomInAppMessageManagerListener(new BrazeInAppMessageManagerListener());
}

/**
Expand Down
10 changes: 10 additions & 0 deletions AppboyProject/ios/AppboyProject.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/ABKContentCardsStoryboard.storyboard",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/ar.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/Base.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/cs.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/da.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/de.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/en.lproj/AppboyContentCardsLocalizable.strings",
Expand Down Expand Up @@ -446,6 +447,7 @@
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/ru.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/sv.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/th.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/uk.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/vi.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/zh-Hans.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/zh-Hant.lproj/AppboyContentCardsLocalizable.strings",
Expand All @@ -454,6 +456,7 @@
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/zh.lproj/AppboyContentCardsLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/ar.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/Base.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/cs.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/da.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/de.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/en.lproj",
Expand Down Expand Up @@ -482,6 +485,7 @@
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/ru.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/sv.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/th.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/uk.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/vi.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/zh-Hans.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKContentCards/Resources/zh-Hant.lproj",
Expand All @@ -502,6 +506,7 @@
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/ABKNewsFeedCardStoryboard.storyboard",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/ar.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/Base.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/cs.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/da.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/de.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/en.lproj/AppboyFeedLocalizable.strings",
Expand Down Expand Up @@ -536,6 +541,7 @@
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/ru.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/sv.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/th.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/uk.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/vi.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/zh-Hans.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/zh-Hant.lproj/AppboyFeedLocalizable.strings",
Expand All @@ -544,6 +550,7 @@
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/zh.lproj/AppboyFeedLocalizable.strings",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/ar.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/Base.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/cs.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/da.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/de.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/en.lproj",
Expand Down Expand Up @@ -572,6 +579,7 @@
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/ru.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/sv.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/th.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/uk.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/vi.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/zh-Hans.lproj",
"${PODS_ROOT}/Appboy-iOS-SDK/AppboyUI/ABKNewsFeed/Resources/zh-Hant.lproj",
Expand All @@ -590,6 +598,7 @@
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/[email protected]",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ar.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Base.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/cs.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/da.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/de.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/en.lproj",
Expand Down Expand Up @@ -618,6 +627,7 @@
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/ru.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/sv.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/th.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/uk.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/vi.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/zh-Hans.lproj",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/zh-Hant.lproj",
Expand Down
2 changes: 2 additions & 0 deletions AppboyProject/ios/AppboyProject/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#import <UIKit/UIKit.h>
#import <UserNotifications/UserNotifications.h>
#import <React/RCTBridge.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate, UNUserNotificationCenterDelegate>

@property (nonatomic, strong) UIWindow *window;
@property (nonatomic, strong) RCTBridge* bridge;

@end
26 changes: 25 additions & 1 deletion AppboyProject/ios/AppboyProject/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@
#import <React/RCTLinkingManager.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
#import <React/RCTBridge.h>
#import <React/RCTEventDispatcher.h>
#import "AppboyKit.h"
#import "AppboyReactUtils.h"

@implementation AppDelegate

@synthesize bridge;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSURL *jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];
Expand All @@ -16,14 +20,16 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
initialProperties:nil
launchOptions:launchOptions];

self.bridge = rootView.bridge;
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
UIViewController *rootViewController = [UIViewController new];
rootViewController.view = rootView;
self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];
[Appboy startWithApiKey:@"d0555d14-3491-4141-a9f0-ffb83e3c2a2f"
inApplication:application
withLaunchOptions:launchOptions];
withLaunchOptions:launchOptions
withAppboyOptions:@{ ABKInAppMessageControllerDelegateKey : self }];

// Register for user notifications
if (floor(NSFoundationVersionNumber) > NSFoundationVersionNumber_iOS_9_x_Max) {
Expand Down Expand Up @@ -52,6 +58,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

[[AppboyReactUtils sharedInstance] populateInitialUrlFromLaunchOptions:launchOptions];

// In-App Messaging
[Appboy sharedInstance].inAppMessageController.delegate = self;

return YES;
}

Expand Down Expand Up @@ -90,4 +99,19 @@ - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserAct
restorationHandler:restorationHandler];
}

// In-app messaging
- (ABKInAppMessageDisplayChoice) beforeInAppMessageDisplayed:(ABKInAppMessage *)inAppMessage {
NSLog(@"Received IAM from Braze in beforeInAppMessageDisplayed delegate.");
NSData *inAppMessageData = [inAppMessage serializeToData];
NSString *inAppMessageString = [[NSString alloc] initWithData:inAppMessageData encoding:NSUTF8StringEncoding];
NSDictionary *arguments = @{
@"inAppMessage" : inAppMessageString
};
[self.bridge.eventDispatcher
sendDeviceEventWithName:@"inAppMessageReceived"
body:arguments];
// Note: return ABKDiscardInAppMessage if you would like
// to prevent the Braze SDK from displaying the message natively.
return ABKDisplayInAppMessageNow;
}
@end
2 changes: 1 addition & 1 deletion AppboyProject/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

target 'AppboyProject' do
pod 'Appboy-iOS-SDK', '3.21.3'
pod 'Appboy-iOS-SDK', '3.26.0'

# If you want to integrate through Cocoapods instead of manual linking use this:
# It already comes with a dependency on `Appboy-iOS-SDK` so you're all set. Remember to
Expand Down
39 changes: 20 additions & 19 deletions AppboyProject/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
PODS:
- Appboy-iOS-SDK (3.21.3):
- Appboy-iOS-SDK/UI (= 3.21.3)
- Appboy-iOS-SDK/ContentCards (3.21.3):
- Appboy-iOS-SDK (3.26.0):
- Appboy-iOS-SDK/UI (= 3.26.0)
- Appboy-iOS-SDK/ContentCards (3.26.0):
- Appboy-iOS-SDK/Core
- SDWebImage (~> 5.0)
- Appboy-iOS-SDK/Core (3.21.3)
- Appboy-iOS-SDK/InAppMessage (3.21.3):
- Appboy-iOS-SDK/Core (3.26.0)
- Appboy-iOS-SDK/InAppMessage (3.26.0):
- Appboy-iOS-SDK/Core
- SDWebImage (~> 5.0)
- Appboy-iOS-SDK/NewsFeed (3.21.3):
- Appboy-iOS-SDK/NewsFeed (3.26.0):
- Appboy-iOS-SDK/Core
- SDWebImage (~> 5.0)
- Appboy-iOS-SDK/UI (3.21.3):
- Appboy-iOS-SDK/UI (3.26.0):
- Appboy-iOS-SDK/ContentCards
- Appboy-iOS-SDK/Core
- Appboy-iOS-SDK/InAppMessage
Expand Down Expand Up @@ -199,8 +199,8 @@ PODS:
- React-cxxreact (= 0.61.5)
- React-jsi (= 0.61.5)
- React-jsinspector (0.61.5)
- react-native-appboy-sdk (1.20.0):
- Appboy-iOS-SDK (~> 3.21.3)
- react-native-appboy-sdk (1.21.0):
- Appboy-iOS-SDK (~> 3.26.0)
- React
- React-RCTActionSheet (0.61.5):
- React-Core/RCTActionSheetHeaders (= 0.61.5)
Expand Down Expand Up @@ -237,13 +237,13 @@ PODS:
- React-cxxreact (= 0.61.5)
- React-jsi (= 0.61.5)
- ReactCommon/jscallinvoker (= 0.61.5)
- SDWebImage (5.5.2):
- SDWebImage/Core (= 5.5.2)
- SDWebImage/Core (5.5.2)
- SDWebImage (5.8.4):
- SDWebImage/Core (= 5.8.4)
- SDWebImage/Core (5.8.4)
- Yoga (1.14.0)

DEPENDENCIES:
- Appboy-iOS-SDK (= 3.21.3)
- Appboy-iOS-SDK (= 3.26.0)
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/Libraries/FBReactNativeSpec`)
Expand Down Expand Up @@ -276,8 +276,9 @@ DEPENDENCIES:

SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
- Appboy-iOS-SDK
- boost-for-react-native
trunk:
- Appboy-iOS-SDK
- SDWebImage

EXTERNAL SOURCES:
Expand Down Expand Up @@ -335,7 +336,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
Appboy-iOS-SDK: 2600f129c311e14217a2b0e75264bad88214b97c
Appboy-iOS-SDK: ecfcd7edaa1813c5f18e019c8faa171931d51f8f
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
FBLazyVector: aaeaf388755e4f29cd74acbc9e3b8da6d807c37f
Expand All @@ -351,7 +352,7 @@ SPEC CHECKSUMS:
React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7
React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386
React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0
react-native-appboy-sdk: c07a192dcc08f3e3c19203a2e0253ab32d36655a
react-native-appboy-sdk: adeccdb2362c394c2ab93f6c350ee4220c87e0ec
React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76
React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360
React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72
Expand All @@ -362,9 +363,9 @@ SPEC CHECKSUMS:
React-RCTText: 9ccc88273e9a3aacff5094d2175a605efa854dbe
React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad
ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd
SDWebImage: 4d5c027c935438f341ed33dbac53ff9f479922ca
SDWebImage: cf6922231e95550934da2ada0f20f2becf2ceba9
Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b

PODFILE CHECKSUM: ac245fcadc6d9d7a2f662945e62fccd1d450c5ba
PODFILE CHECKSUM: d0a2b254a384a0f3a0067a26aa572948a124f361

COCOAPODS: 1.9.1
COCOAPODS: 1.9.3
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 1.21.0

##### Added
- Added support for working with in-app messages in the JavaScript layer. In-App Messages can be instantiated using the `BrazeInAppMessage` class. The resulting object can be passed into the analytics methods: `logInAppMessageClicked`, `logInAppMessageImpression`, and `logInAppMessageButtonClicked` (along with the button index). See the README for additional implementation details or the `AppboyProject` sample app for an integration example.
- Added `ReactAppboy.requestGeofences()` to request a Braze Geofences update for a manually provided GPS coordinate. Automatic Braze Geofence requests must be disabled to properly use this method.

##### ⚠ Breaking
- Updated the native Android bridge to [Braze Android SDK 8.0.1](https://github.com/Appboy/appboy-android-sdk/blob/master/CHANGELOG.md#801).
- Updated the native iOS bridge to [Braze iOS SDK 3.26.0](https://github.com/Appboy/appboy-ios-sdk/releases/tag/3.26.0).

##### Changed
- Improved Typescript definitions for `setCustomUserAttribute` and `incrementCustomUserAttribute`.
- Thanks @janczizikow!

##### Fixed
- Fixed incorrect TypeScript definition for `ContentCard`.
- Thanks @Hannes-Sandahl-Mpya!

## 1.20.0

##### ⚠ Breaking
Expand Down
Loading

0 comments on commit 1d10e3a

Please sign in to comment.