Skip to content

Commit 715d73e

Browse files
6.3.50
Releases/6.x.x/6.3.x/6.3.50
2 parents 0f819ea + d117ffd commit 715d73e

15 files changed

+60
-702
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.3.50
2+
- iOS SDK 6.3.5
3+
- `setCurrentDeviceLanguage` api for iOS
4+
15
## 6.3.20
26
### *Bug*
37
- RN Android >> Exception in UDL callback parsing

Docs/API.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
- [setHost](#setHost)
3333
- [addPushNotificationDeepLinkPath](#addPushNotificationDeepLinkPath)
3434
- [disableSKAD](#disableSKAD)
35+
- [setCurrentDeviceLanguage](#setCurrentDeviceLanguage)
3536

3637
---
3738

@@ -877,3 +878,21 @@ if (Platform.OS == 'ios') {
877878
appsFlyer.disableSKAD(true);
878879
}
879880
```
881+
882+
##### <a id="setCurrentDeviceLanguage"> **`setCurrentDeviceLanguage(language)`**
883+
884+
Set the language of the device. The data will be displayed in Raw Data Reports<br>
885+
If you want to clear this property, set an empty string. ("")
886+
887+
| parameter | type | description |
888+
| ----------|----------|------------------|
889+
| language | string | language of the device |
890+
891+
892+
*Example:*
893+
894+
```javascript
895+
if (Platform.OS == 'ios') {
896+
appsFlyer.setCurrentDeviceLanguage("EN");
897+
}
898+
```

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
<img src="https://www.appsflyer.com/wp-content/uploads/2016/11/logo-1.svg" width="450">
2+
<img src="https://raw.githubusercontent.com/AppsFlyerSDK/appsflyer-capacitor-plugin/main/assets/AFLogo_primary.png" width="450">
33

44
# React Native AppsFlyer plugin for Android and iOS.
55

@@ -21,7 +21,7 @@
2121

2222
### <a id="plugin-build-for"> This plugin is built for
2323

24-
- iOS AppsFlyerSDK **v6.3.2**
24+
- iOS AppsFlyerSDK **v6.3.5**
2525
- Android AppsFlyerSDK **v6.3.2**
2626

2727
## <a id="breaking-changes"> ❗ Breaking Changes

android/build.gradle

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,4 @@ dependencies {
5656
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
5757
implementation "com.android.installreferrer:installreferrer:${safeExtGet('installReferrerVersion', '2.1')}"
5858
implementation "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.3.2')}"
59-
//-----
60-
// Required -- JUnit 4 framework
61-
testImplementation 'junit:junit:4.12'
62-
// Optional -- Robolectric environment
63-
testImplementation 'androidx.test:core:1.0.0'
64-
// Optional -- Mockito framework
65-
testImplementation('org.mockito:mockito-inline:3.4.0')
66-
testImplementation "org.json:json:20140107"
67-
testImplementation('org.powermock:powermock-api-mockito:1.6.2') {
68-
exclude module: 'hamcrest-core'
69-
exclude module: 'objenesis'
70-
}
71-
testImplementation('org.powermock:powermock-module-junit4:1.6.2') {
72-
exclude module: 'hamcrest-core'
73-
exclude module: 'objenesis'
74-
}
7559
}

0 commit comments

Comments
 (0)