Changelog
4.3.1
Bug Fixes
-
Fixed player interactions with buttons on notifications on Android >= 11
-
Resolved issue that could result in an extra unattributed 'play' event when returning to the game from a push notification or link after two minutes of backgrounding
-
Resolved issue which could result in failing to track clicks in sessions starting from a notification or link with a non-hierarchical out of game link, such as mailto:example@example.com
4.3.0
New Features
-
Local notification personalization: Using
Teak.Notification.Schedule
you can now pass a dictionary of additional data which can be templated into the local notification. -
Session time tracking: The Teak SDK now automatically tracks the duration of game sessions and reports this data to the Teak Dashboard and any configured data syncs.
-
Opt-Out Categories: You can now categorize push notifications and emails into different Opt-Out Categories, and provide players with an in-game communication preferences UI so that your players can manage what kinds of messaging they receive.
-
Push Opt-Out Tracking: The Teak SDK can now detects and reports when a player has opted out of push notifications through their device settings to the Teak Dashboard for upcoming reports.
-
Uninstall Tracking: The Teak SDK and Teak Dashboard can now detect and report when a player has uninstalled the game from their device for upcoming reports.
-
Notification Channels: Opt-Out Categories automatically map to Notification Channels, which provides players with a familiar UI in Settings to manage the kinds of messaging they receive.
-
Badging: From the Teak Dashboard you can enable an app icon badge when push notifications are delivered. Note that this will only apply to non-default Opt-Out Categories, or the default Opt-Out category on new installs made after integrating Teak SDK 4.3.0.
-
Image+Text Notification Layout: Teak now supports a new notification layout which places a square image to the right of the text content of the notification.
Upgrade Notes
-
Deprecated
TeakNotification.scheduleNotification
. UseTeak.Notification.schedule
instead.
Bug Fixes
-
Fixed
Missing class com.unity3d.player.UnityPlayerActivity
warning in non-Unity projects. -
Resolved several potential race conditions that could prevent updated player contact information from being submitted to the Teak Dashboard
-
Resolved issue when setting a player’s email address back to original value after calling
Teak.Instance.deleteEmail()
-
Resolved potential failure to initialize the Teak SDK when launching from a link or push notification that deep links to an unknown custom URL scheme
-
Resolved race condition that could result in an extra 'play' event when updating player contact information while the game is being backgrounded
-
Fixed bug that could result in an extra 'play' event when changing game assigned player id through a new call to
Teak.Instance.identifyUser()
.
4.2.0
Breaking Changes
-
Teak$AdditionalDataEvent has been deprecated, and will be removed in the SDK 5 family. Please use Teak$UserDataEvent.
-
Google Play Billing v3 support has been removed
-
Now requires EventBus 3.3.1
-
SDK 5 Behaviors now enabled by default (
io_teak_sdk5_behaviors
)
New Features
-
Teak#handleDeepLinkPath has been added to allow you manually resolve a deep link path, e.g. /foo/bar?fizz=buzz
-
Teak#setChannelState has been added to let users opt in/out of Teak marketing channels
-
Teak$UserDataEvent has been added to provide user specific state, including opt-out status for Teak email and push campaigns and the 'additional data' for the user. This supercedes [Teak$AdditionalDataEvent], which has been deprecated.
-
Teak#canOpenNotificationSettings and Teak#openNotificationSettings to allow users to open the settings app directly to the notification settings for their app
-
Teak#canOpenSettingsAppToThisAppsSettings has been added
-
Teak#deleteEmail has been added
-
Google Play Billing v5 support has been added
-
Added
pushRegistration
to Teak$UserDataEvent
4.1.0
Breaking Changes
-
If you target Android 12, you must add
android:exported
specifications to the receiver definition forio.teak.sdk.push.ADMPushProvider$MessageAlertReceiver
<receiver
android:name="io.teak.sdk.push.ADMPushProvider$MessageAlertReceiver"
android:permission="com.amazon.device.messaging.permission.SEND"
android:exported="true">
New Features
-
Added support for targeting Android 12 (API level 31)
-
Added a flag to preview SDK 5 changes,
io_teak_sdk5_behaviors
-
If
io_teak_sdk5_behaviors
is enabled, Teak will no longer automatically collect Facebook Access Token, instead you must pass the Facebook User Id toTeak#identifyUser
-
-
Added
Teak$PostLaunchSummaryEvent
which will contain launch information for both Teak attributed, and non-Teak attributed launches
4.0.2
Breaking Changes
-
If you target Android 12, you must add
android:exported
specifications to the receiver definition forio.teak.sdk.push.ADMPushProvider$MessageAlertReceiver
-
<receiver android:name="io.teak.sdk.push.ADMPushProvider$MessageAlertReceiver" android:permission="com.amazon.device.messaging.permission.SEND" android:exported="true">
-
4.0.0
Breaking Changes
-
Deprecated method
Teak.onNewIntent
removed -
Support for Adobe AIR removed
-
support-v4
is no longer supported, AndroidX is now required -
If you use the Facebook SDK, version 4 is now the minimum supported version
-
Teak will no longer create a Firebase instance if one does not exist
-
io_teak_ignore_default_firebase_configuration
removed -
io_teak_gcm_sender_id
removed -
io_teak_firebase_app_id
removed -
io_teak_firebase_api_key
removed -
io_teak_firebase_project_id
removed
-
-
Minimum target SDK is now API 30
-
com.android.installreferrer
version used is now 2.2
New Features
-
Now using v2 Signatures for request signing (this is not a user-facing change).
-
Now supports out-of-memory fallbacks for all notifiation images.
-
Added
teakScheduleId
andteakCreativeId
toNotificationEvent
-
Added
teakScheduleId
andteakCreativeId
toRewardClaimEvent
-
Now automatically tracks purchases from Google Play Billing v3
3.3.0
2.2.0
New Features
-
FOREGROUND_NOTIFICATION_INTENT
is broadcast when a Push Notification is recieved while the app is in the foreground. -
ms_since_first_event
is now sent with batched requests. -
Added
deviceBoard
anddeviceProduct
to device information. -
Teak.setLogListener
for getting callbacks when the Teak SDK would log an event.
Bug Fixes
-
Suppress some log spam when looking to see if
NotificationManagerCompat.areNotificationsEnabled
is supported. -
Stopped some of the fine-grain checking for what
IInAppBillingService
supports, to prevent possible ANRs. -
All threads and executors are now named, so that any ANR/crash report which includes thread names will clearly show what Teak is doing in that ANR/crash.
2.1.0
New Features
-
Support
trackEvent
for Adobe AIR -
Added
incrementEvent
-
Now tracking
PackageInfo.versionName
(instead of justPackageInfo.versionCode
) -
Added support for Google Play’s
com.android.installreferrer.api.InstallReferrerClient
-
Added support for specifying the Android store, using
io_teak_store_id
. Will detect Amazon automatically; defaults to Google Play.
2.0.0
Breaking Changes
-
Direct GCM support removed, now using Firebase
-
Firebase Job Dispatcher is now used for a unified Teak worker
-
Removes
io.teak.sdk.service.RavenService
-
Removes
io.teak.sdk.service.DeviceStateService
-
Changes
io.teak.sdk.service.JobService
into a Firebase JobDispatcher
-
-
userHasDisabledNotifications
→getNotificationStatus
1.0.0
0.19.0
New Features
-
Notifications will now retry asset loading if an asset fails to load. Delay is 2, 4, and 8 seconds.
-
Android P support
-
android.os.Build.SERIAL
will not be used under Android P -
Updated Sentry exception reporting properties
-
Tracks historical changes in the state of push permissions
-
Per-user opt-out of tracking, configured via identifyUser
0.18.0
New Features
-
Ability to disable collection of IDFA, Push Key, and/or Facebook Access Token
-
<meta-data android:name="io_teak_enable_idfa" android:value="false" />
-
<meta-data android:name="io_teak_enable_facebook" android:value="false" />
-
<meta-data android:name="io_teak_enable_push_key" android:value="false" />
-
0.17.0
Breaking Changes
-
Requires
io.teak.sdk.service.JobService
for Android 8 job compatibility. -
Unity requires no changes.
-
Adobe AIR requires adding
<service android:name="io.teak.sdk.service.JobService" android:permission="android.permission.BIND_JOB_SERVICE" android:exported="true"/>
to XML -
Renamed some public static final fields (This should have no impact unless you were using these for some very strange reason)
-
TEAK_API_KEY
→TEAK_API_KEY_RESOURCE
-
TEAK_APP_ID
→TEAK_APP_ID_RESOURCE
-
TEAK_GCM_SENDER_ID
→TEAK_GCM_SENDER_ID_RESOURCE
-
0.13.3
New Features
-
You can now load images in push notifications from your Android assets, example
assets:///pixelgrid_2000x2000.png
(note triple slash) -
Using
NONE
for an image resource will now remove it from the layout -
Notifications will no longer combine into a single notification (in as much as is possible to control) on Android 8+ only
0.13.2
0.12.8
0.12.7
Bug Fixes
-
Add specific catches for exceptions we should ignore, and not report
-
TEAK-SDK-F
-
TEAK-SDK-M
-
TEAK-SDK-X
-
TEAK-SDK-11
-
TEAK-SDK-Q
-
TEAK-SDK-Z
-
TEAK-SDK-N
-
TEAK-SDK-K
-
TEAK-SDK-W
-
TEAK-SDK-V
-
TEAK-SDK-T
-
TEAK-SDK-S
-
TEAK-SDK-J
-
TEAK-SDK-P
-
-
Fixed TEAK-SDK-9
-
Fixed issue with Android < 5 and custom notification icons