-
Notifications
You must be signed in to change notification settings - Fork 7
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
Batch Cordova 6.0 #37
Merged
Merged
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
abarisain
approved these changes
Sep 4, 2024
arnaud-roland
force-pushed
the
feature/cordova-plugin-6.0
branch
from
September 4, 2024 13:14
6673629
to
f2cad91
Compare
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.
6.0.0
This is a major release, please see our migration guide for more info on how to update your current Batch implementation.
Plugin
minSdk
level of 21 or higher.Core
isOptedOut
to checks whether Batch has been opted out from or not.setFindMyInstallationEnabled
to set whether Batch should enable the FindMyInstallation feature or not.updateAutomaticDataCollection
to fine-tune the data you authorize to be tracked by Batch.canUseAdvertisingIdentifier
property fromConfig
.migrations
property toConfig
to update the profile migrations related configuration. See our documentation for more info.User
trackTransaction
with no equivalent.batch.user.editor
and the related classBatchUserDataEditor
, you should now usebatch.profile.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 usebatch.profile.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
method.put
method.Profile
Introduced
batch.profile
, a new module that enables interacting with profiles. Its functionality replaces most of BatchUser used to do.identify
API as replacement ofbatch.user.getEditor().setIdentifier
.getEditor
method to get a new instance of aBatchProfileAttributeEditor
as replacement ofBatchUserEditor
.trackEvent
API as replacement of thebatch.user.trackEvent
methods.trackLocation
API as replacement of thebatch.user.trackLocation
method.