Skip to content

Commit

Permalink
Merge pull request #87 from appodeal/feature/apdm-644-update-appodeal…
Browse files Browse the repository at this point in the history
…-sdk-to-3.3.3

Release/3.3.3 (APDM-644)
  • Loading branch information
da2gl authored Sep 18, 2024
2 parents ba17b93 + 93ba177 commit 7fd7acf
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 24 deletions.
16 changes: 13 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 3.3.3

### Updated SDKs

- Updated Appodeal Android SDK to [3.3.3](https://docs.appodeal.com/android/changelog)
- Fixed AppodealPlayStorePurchase `purchaseTimestamp` cast
error [#81](https://github.com/appodeal/Appodeal-Flutter-Plugin/issues/81)

## 3.3.2

### Updated SDKs
Expand Down Expand Up @@ -104,8 +112,10 @@
* Updated Appodeal iOS SDK to [3.2.0](https://docs.appodeal.com/ios/changelog)
* Updated Appodeal Android SDK to [3.2.0](https://docs.appodeal.com/android/changelog)
* **💥 AdMob Bidding Support**
- Download our newest version of AdMob Sync tool from this [page](https://amsa-updates.appodeal.com/) and perform sync.
- You can read more about AdMob Sync in our [guide](https://docs.appodeal.com/networks-setup/admob-sync).
- Download our newest version of AdMob Sync tool from
this [page](https://amsa-updates.appodeal.com/) and perform sync.
- You can read more about AdMob Sync in
our [guide](https://docs.appodeal.com/networks-setup/admob-sync).

## 3.2.0-beta.3

Expand Down Expand Up @@ -245,7 +255,7 @@
## 1.0.2-beta
* Updated initializeWithConsent() method
* Updated initializeWithConsent() method
## 1.0.1-beta
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Official Appodeal Flutter Plugin for your Flutter application.

## Appodeal SDK 3.3.2
## Appodeal SDK 3.3.3

- **Google CMP and TCF v2 Support**
- To enhance the relevance of ads for your users and comply with regulations like GDPR and CCPA,
Expand Down Expand Up @@ -57,7 +57,7 @@ Add the dependency to the `pubspec.yaml` file in your project:

```yaml
dependencies:
stack_appodeal_flutter: 3.3.2
stack_appodeal_flutter: 3.3.3
```
Install the plugin by running the command below in the terminal:
Expand Down Expand Up @@ -1198,7 +1198,7 @@ Add dependencies into `build.gradle` (module: app)
``` groovy
dependencies {
// ... other project dependencies
implementation ('com.appodeal.ads:sdk:3.3.2.0') {
implementation ('com.appodeal.ads:sdk:3.3.3.0') {
exclude group: 'com.appodeal.ads.sdk.services', module: 'adjust'
exclude group: 'com.appodeal.ads.sdk.services', module: 'appsflyer'
exclude group: 'com.appodeal.ads.sdk.services', module: 'firebase'
Expand Down Expand Up @@ -1295,7 +1295,7 @@ In your *network_security_config.xml* file, add `base-config` that sets `clearte
dependencies {
...
// ... other project dependencies
implementation('com.appodeal.ads:sdk:3.3.2.0') {
implementation('com.appodeal.ads:sdk:3.3.3.0') {
// ad networks
exclude group: "com.appodeal.ads.sdk.networks", module: "admob"
exclude group: "org.bidon", module: "admob-adapter"
Expand Down Expand Up @@ -1334,7 +1334,7 @@ Add dependencies into build.gradle (module: app)
```groovy
dependencies {
// ... other project dependencies
implementation 'com.appodeal.ads.sdk.services:adjust:3.3.2.0'
implementation 'com.appodeal.ads.sdk.services:adjust:3.3.3.0'
}
```

Expand All @@ -1354,7 +1354,7 @@ Add dependencies into build.gradle (module: app)
```groovy
dependencies {
// ... other project dependencies
implementation 'com.appodeal.ads.sdk.services:appsflyer:3.3.2.0'
implementation 'com.appodeal.ads.sdk.services:appsflyer:3.3.3.0'
}
```

Expand All @@ -1374,7 +1374,7 @@ Add dependencies into build.gradle (module: app)
```groovy
dependencies {
// ... other project dependencies
implementation 'com.appodeal.ads.sdk.services:firebase:3.3.2.0'
implementation 'com.appodeal.ads.sdk.services:firebase:3.3.3.0'
}
```

Expand All @@ -1394,7 +1394,7 @@ Add dependencies into build.gradle (module: app)
```groovy
dependencies {
// ... other project dependencies
implementation 'com.appodeal.ads.sdk.services:facebook_analytics:3.3.2.0'
implementation 'com.appodeal.ads.sdk.services:facebook_analytics:3.3.3.0'
}
```

Expand Down
10 changes: 5 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ android {
namespace 'com.appodeal.appodeal_flutter'
}

compileSdk 33
compileSdk 34

defaultConfig {
minSdk 21
targetSdk 33
targetSdk 34
}

compileOptions {
Expand All @@ -53,7 +53,7 @@ android {

dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom:$kotlin_version"))
// Appodeal SDK 3.3.2.0
implementation 'com.appodeal.ads.sdk:core:3.3.2'
implementation 'com.appodeal.ads.sdk.networks:iab:3.3.2.0'
// Appodeal SDK 3.3.3.0
implementation 'com.appodeal.ads.sdk:core:3.3.3'
implementation 'com.appodeal.ads.sdk.networks:iab:3.3.3.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ internal class AppodealFlutterPlugin : AppodealBaseFlutterPlugin() {
val sku = args["sku"] as? String?
val orderId = args["orderId"] as? String?
val purchaseToken = args["purchaseToken"] as? String?
val purchaseTimestamp = args["purchaseTimestamp"] as Int
val purchaseTimestamp = (args["purchaseTimestamp"] as? Number)?.toLong() ?: 0L
@Suppress("UNCHECKED_CAST") val additionalParameters =
args["additionalParameters"] as Map<String, String>
val purchase: InAppPurchase = when (type) {
Expand All @@ -388,7 +388,7 @@ internal class AppodealFlutterPlugin : AppodealBaseFlutterPlugin() {
.withSku(sku)
.withOrderId(orderId)
.withPurchaseToken(purchaseToken)
.withPurchaseTimestamp(purchaseTimestamp.toLong())
.withPurchaseTimestamp(purchaseTimestamp)
.withAdditionalParams(additionalParameters)
.build()
Appodeal.validateInAppPurchase(
Expand Down
8 changes: 4 additions & 4 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ apply plugin: 'com.google.gms.google-services'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdk 33
compileSdk 34
namespace 'com.appodeal.appodeal_flutter_example'

defaultConfig {
minSdk 21
targetSdk 33
targetSdk 34
applicationId "com.appodealstack.demo"
versionName flutterVersionName
versionCode flutterVersionCode.toInteger()
Expand Down Expand Up @@ -64,6 +64,6 @@ flutter {

dependencies {
implementation(platform("org.jetbrains.kotlin:kotlin-bom:$kotlin_version"))
// Appodeal SDK 3.3.2.0
implementation 'com.appodeal.ads:sdk:3.3.2.0'
// Appodeal SDK 3.3.3.0
implementation 'com.appodeal.ads:sdk:3.3.3.0'
}
2 changes: 1 addition & 1 deletion lib/src/appodeal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ class Appodeal {

/// Gets SDK version.
static String getSDKVersion() {
return "3.3.2";
return "3.3.3";
}

/// Gets SDK platform version.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: stack_appodeal_flutter
description: Official Flutter plugin to support Appodeal SDK for Android and iOS platforms. Support Consent Dialog for GDPR/CCPA zone.
version: 3.3.2
version: 3.3.3
homepage: https://github.com/appodeal
repository: https://github.com/appodeal/Appodeal-Flutter-Plugin

Expand Down

0 comments on commit 7fd7acf

Please sign in to comment.