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

react-native-adjust

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-adjust - npm Package Compare versions

Comparing version 4.17.2 to 4.18.0

13

CHANGELOG.md

@@ -0,1 +1,12 @@

### Version 4.18.0 (1st July 2019)
#### Added
- Added `trackAdRevenue` method to `Adjust` interface to allow tracking of ad revenue. With this release added support for `MoPub` ad revenue tracking.
- Added reading of Facebook anonymous ID if available on iOS platform.
#### Native SDKs
- [iOS@v4.18.0][ios_sdk_v4.18.0]
- [Android@v4.18.0][android_sdk_v4.18.0]
---
### Version 4.17.2 (3rd May 2019)

@@ -285,2 +296,3 @@ #### Changed

[ios_sdk_v4.17.2]: https://github.com/adjust/ios_sdk/tree/v4.17.2
[ios_sdk_v4.18.0]: https://github.com/adjust/ios_sdk/tree/v4.18.0

@@ -301,1 +313,2 @@ [android_sdk_v4.10.4]: https://github.com/adjust/android_sdk/tree/v4.10.4

[android_sdk_v4.17.0]: https://github.com/adjust/android_sdk/tree/v4.17.0
[android_sdk_v4.18.0]: https://github.com/adjust/android_sdk/tree/v4.18.0

1

index.d.ts

@@ -161,2 +161,3 @@ declare module "react-native-adjust" {

sendFirstPackages: (): void => { },
trackAdRevenue: (source: string, payload: string): void => { },
addSessionCallbackParameter: (key: string, value: string): void => { },

@@ -163,0 +164,0 @@ addSessionPartnerParameter: (key: string, value: string): void => { },

8

index.js

@@ -54,2 +54,6 @@ 'use strict';

Adjust.trackAdRevenue = function(source, payload) {
module_adjust.trackAdRevenue(source, payload);
}
Adjust.addSessionCallbackParameter = function(key, value) {

@@ -110,3 +114,3 @@ if (typeof key !== 'string' || typeof value !== 'string') {

Adjust.getSdkVersion = function(callback) {
module_adjust.getSdkVersion("react-native4.17.2", callback);
module_adjust.getSdkVersion("react-native4.18.0", callback);
}

@@ -184,3 +188,3 @@

var AdjustConfig = function(appToken, environment) {
this.sdkPrefix = "react-native4.17.2";
this.sdkPrefix = "react-native4.18.0";
this.appToken = appToken;

@@ -187,0 +191,0 @@ this.environment = environment;

{
"name": "react-native-adjust",
"description": "Adjust React Native SDK",
"version": "4.17.2",
"version": "4.18.0",
"main": "index.js",

@@ -6,0 +6,0 @@ "author": "adjust GmbH",

@@ -130,7 +130,8 @@ ## Summary

In your `index.android.js` or `index.ios.js` file, add the following code to initialize the Adjust SDK:
In your `App.js` file, add the following code to initialize the Adjust SDK:
```javascript
componentWillMount() {
var adjustConfig = new AdjustConfig("{YourAppToken}", AdjustConfig.EnvironmentSandbox);
constructor(props) {
super(props);
const adjustConfig = new AdjustConfig("{YourAppToken}", AdjustConfig.EnvironmentSandbox);
Adjust.create(adjustConfig);

@@ -137,0 +138,0 @@ }

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc