-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
9.0.0 #8
Merged
Merged
9.0.0 #8
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…done on native side
0b8156c
to
8e0af3a
Compare
8e0af3a
to
42373e7
Compare
abarisain
reviewed
Jun 6, 2024
abarisain
approved these changes
Jun 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Batch React-Native 9.0.0
Plugin
minSdk
level of 21 or higher.iOS
UNUserNotificationCenterDelegate
and forwards it to the previous one if it exists.This means you no longer need to add
[BatchUNUserNotificationCenterDelegate registerAsDelegate]
in yourAppDelegate
, please delete it.It can be disabled by calling
BatchBridgeNotificationCenterDelegate.automaticallyRegister = false
before[RNBatch start]
.Core
isOptedOut
to checks whether Batch has been opted out from or not.updateAutomaticDataCollection
to fine-tune the data you authorize to be tracked by Batch.User
trackTransaction
with no equivalent.BatchUser.editor
and the related classBatchUserEditor
, you should now useBatchProfile.editor
which return an instance ofBatchProfileAttributeEditor
.clearInstallationData
which allows you to remove the installation data without modifying the current profile.Event
This version introduced two new types of attribute that can be attached to an event : Array and Object.
trackEvent
APIs from the user module. You should now useBatchProfile.trackEvent
.BatchEventData
has been renamed intoBatchEventAttributes
.addTag
API fromBatchEventData
You should now use the$tags
key withput
method.label
fromtrackEvent
API. You should now use the$label
key inBatchEventAttributes
with theput(string, string)
method.put
method.Profile
Introduced
BatchProfile
, a new module that enables interacting with profiles. Its functionality replaces most of BatchUser used to do.identify
API as replacement ofBatchUser.editor().setIdentifier
.editor
method to get a new instance of aBatchProfileAttributeEditor
as replacement ofBatchUserEditor
.trackEvent
API as replacement of theBatchUser.trackEvent
methods.trackLocation
API as replacement of theBatchUser.trackLocation
method.Expo
enableDefaultOptOut
to control whether Batch is opted out from by default. (default: false)enableProfileCustomIDMigration
andenableProfileCustomDataMigration
to control whether Batch should trigger the profile migrations (default: true).