io.justtrack.justtrack-unity-sdk
Advanced tools
Comparing version
# JustTrack SDK Changelog (Unity) | ||
## Version 4.2.7 (30th March 2022) | ||
### Added | ||
- Added `JustTrackSDK.OnTrackingAuthorization` to query for the status of the tracking permission (and request it, if wanted). | ||
- The SDK can now automatically detect the Firebase instance id of a user and send it to the JustTrack backend. | ||
### Changed | ||
- Updated Android SDK to 4.2.7. | ||
- Updated iOS SDK to 4.2.7. | ||
- The SDK now verifies the validity of an Api token in the Unity editor. | ||
- The SDK now verifies that you are using the External Dependency Manager for Unity. If it doesn't find it, it shows a warning and assists you in adding it to your game. | ||
## Version 4.2.6 (11th February 2022) | ||
@@ -4,0 +18,0 @@ |
{ | ||
"name": "io.justtrack.justtrack-unity-sdk", | ||
"version": "4.2.6", | ||
"version": "4.2.7-rc8", | ||
"displayName": "JustTrack SDK", | ||
@@ -12,3 +12,2 @@ "description": "JustTrack is AppLike Group's next level attribution & UA automation platform - built by app publishers for app publishers.", | ||
"justtrack", | ||
"justdice", | ||
"attribution", | ||
@@ -18,6 +17,6 @@ "tracking" | ||
"author": { | ||
"name": "justDice GmbH", | ||
"email": "contact@justdice.io", | ||
"name": "justTrack GmbH", | ||
"email": "contact@justtrack.io", | ||
"url": "https://justtrack.io/contact/" | ||
} | ||
} |
@@ -27,3 +27,3 @@ # JustTrack SDK for Unity | ||
// ... other dependencies of your game ... | ||
"io.justtrack.justtrack-unity-sdk": "4.2.6" | ||
"io.justtrack.justtrack-unity-sdk": "4.2.7" | ||
}, | ||
@@ -43,4 +43,12 @@ "scopedRegistries": [ | ||
Next, navigate to `Packages/JustTrack SDK/Prefabs` and add the `JustTrackSDK` prefab to your initial scene. | ||
### Dependencies | ||
The JustTrack SDK uses the [External Dependency Manager for Unity](https://github.com/googlesamples/unity-jar-resolver) from Google to download the JustTrack Android SDK as well as its dependencies. | ||
You can select the correct version for you on <https://developers.google.com/unity/archive#external_dependency_manager_for_unity> or directly download <https://github.com/googlesamples/unity-jar-resolver/raw/v1.2.169/external-dependency-manager-1.2.169.unitypackage> to get the latest version. | ||
The JustTrack SDK requires at least version 1.2.167. | ||
### Adding the prefab | ||
After finishing the installation of the JustTrack SDK and its dependencies, navigate to `Packages/JustTrack SDK/Prefabs` and add the `JustTrackSDK` prefab to your initial scene. | ||
 | ||
@@ -64,10 +72,2 @@ | ||
### Dependencies | ||
The number of dependencies of the JustTrack SDK is small, but not zero. | ||
To resolve these dependencies automatically you can use the [External Dependency Manager](https://github.com/googlesamples/unity-jar-resolver) from Google. | ||
If you are not already using it, you can download it from <https://developers.google.com/unity/archive> as a [.unitypackage](https://github.com/googlesamples/unity-jar-resolver/raw/v1.2.167/external-dependency-manager-1.2.167.unitypackage) file. | ||
After importing it to your project, it should pick up the dependencies specified in `JustTrackSDKDependencies.xml` from this package and begin downloading them. | ||
You need the External Dependency Manager version 1.2.167 or newer. | ||
## Configuration | ||
@@ -188,2 +188,3 @@ | ||
using JustTrack; | ||
JustTrackSDK.GetAdvertiserIdInfo((info) => { | ||
@@ -329,2 +330,17 @@ // info.AdvertiserId will contain the advertiser id (lowercase) or null if it is not available | ||
## Firebase integration | ||
If you are using the Firebase SDK next to the JustTrack SDK, you can use the JustTrack SDK to send the Firebase Instance Id of a user to the JustTrack backend. | ||
You can then later send events from the JustTrack backend to Firebase to measure events happening outside of the app or game. | ||
To send these events, the JustTrack backend needs the Firebase Instance Id of the user. | ||
You can send this by calling `JustTrackSDK.PublishFirebaseInstanceId(firebaseInstanceId)`, but of course this requires you to add additional boilerplate code to your app or game. | ||
Go to the Firebase section of the JustTrack SDK configuration and search for the "Enable Firebase Integration" setting. | ||
Here you can enable whether the JustTrack SDK should automatically perform the call to `PublishFirebaseInstanceId` with the correct value for you on Android as well as iOS (first checkmark on iOS). | ||
On iOS you have to perform an additional call to `FirebaseApp.configure()` before the Firebase Instance Id is available. | ||
If you have already integrated the Firebase SDK correctly in your app, you should already be performing this call during `application:didFinishLaunchingWithOptions:`. | ||
If you don't do this until now, you can also let the JustTrack SDK take care of this by enabling the "Automatic Firebase Configuration" setting. | ||
 | ||
## Get an affiliate link | ||
@@ -385,1 +401,15 @@ | ||
 | ||
If you need to integrate with additional frameworks, you can use `JustTrackSDK.OnTrackingAuthorization` to be notified about the decision of the user: | ||
```cs | ||
using JustTrack; | ||
JustTrackSDK.OnTrackingAuthorization((authorized) => { | ||
if (authorized) { | ||
// access to the GAID/IDFA has been authorized | ||
} else { | ||
// access to the GAID/IDFA has been forbidden | ||
} | ||
}); | ||
``` |
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
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
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
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
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
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
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
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
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
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
906569
4.71%254
2.42%0
-100%410
7.89%2
100%2
100%