New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

io.justtrack.justtrack-unity-sdk

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io.justtrack.justtrack-unity-sdk - npm Package Compare versions

Package version was removed
This package version has been unpublished, mostly likely due to security reasons

Comparing version

to
4.2.7-rc8

Editor/CoroutineRuntime.cs

14

CHANGELOG.md
# 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 @@

7

package.json
{
"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.
![Adding Prefab](https://sdk.justtrack.io/docs/justtrack-sdk/unity/addingPrefab-6d260c76-94e6-4fab-a48d-e3731fdce556.png)

@@ -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.
![Firebase Integration](https://sdk.justtrack.io/docs/justtrack-sdk/unity/firebaseConfiguration-dc75bf71-1caa-4b77-88d5-556fb9b47029.png)
## Get an affiliate link

@@ -385,1 +401,15 @@

![Configure Facebook Audience Network Integration](https://sdk.justtrack.io/docs/justtrack-sdk/unity/configureFacebookAudienceNetworkIntegration-e69d5327-6717-44ed-bcd9-82c501ac92b6.png)
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