Skip to content

Commit

Permalink
Updating samples to 5.3.0 (#1233)
Browse files Browse the repository at this point in the history
* Updating samples to 5.3.0

* Updated app open example

* updated interstitial

* Updated mediation example

* Updated platform example

* Updated template example

* UPdated rewared example

* Updated rewrded interstitial example

---------

Co-authored-by: Justin Malandruccolo <[email protected]>
  • Loading branch information
malandr2 and Justin Malandruccolo authored Jan 22, 2025
1 parent 9286833 commit c5bb49a
Show file tree
Hide file tree
Showing 20 changed files with 27 additions and 18 deletions.
2 changes: 2 additions & 0 deletions samples/admob/app_open_example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/

# IntelliJ related
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/app_open_example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (flutterVersionName == null) {
android {
namespace "com.example.app_open_example"
compileSdkVersion flutter.compileSdkVersion
ndkVersion = "26.1.10909125"
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/app_open_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mobile_ads: ^5.2.0
google_mobile_ads: ^5.3.0

dev_dependencies:
flutter_test:
Expand Down
2 changes: 2 additions & 0 deletions samples/admob/banner_example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/

# IntelliJ related
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/banner_example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (flutterVersionName == null) {
android {
namespace "com.example.banner_example"
compileSdkVersion flutter.compileSdkVersion
ndkVersion = "26.1.10909125"
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/banner_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mobile_ads: ^5.2.0
google_mobile_ads: ^5.3.0

dev_dependencies:
flutter_test:
Expand Down
2 changes: 2 additions & 0 deletions samples/admob/interstitial_example/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/

# IntelliJ related
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (flutterVersionName == null) {
android {
namespace "com.example.interstitial_example"
compileSdkVersion flutter.compileSdkVersion
ndkVersion = "26.1.10909125"
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/interstitial_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mobile_ads: ^5.2.0
google_mobile_ads: ^5.3.0

dev_dependencies:
flutter_test:
Expand Down
3 changes: 2 additions & 1 deletion samples/admob/mediation_example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
namespace "com.example.mediationexample"
compileSdkVersion flutter.compileSdkVersion
ndkVersion = "26.1.10909125"
ndkVersion = flutter.ndkVersion

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
Expand Down
4 changes: 2 additions & 2 deletions samples/admob/mediation_example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
delete rootProject.buildDir
tasks.register("clean", Delete) {
delete rootProject.layout.buildDirectory
}
2 changes: 1 addition & 1 deletion samples/admob/mediation_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mobile_ads: ^5.2.0
google_mobile_ads: ^5.3.0

# The following adds the Cupertino Icons font to your application.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
namespace = "com.example.native_platform_example"
compileSdkVersion flutter.compileSdkVersion
ndkVersion = "26.1.10909125"
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/native_platform_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mobile_ads: ^5.2.0
google_mobile_ads: ^5.3.0

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
namespace = "com.example.native_template_example"
compileSdkVersion flutter.compileSdkVersion
ndkVersion = "26.1.10909125"
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/native_template_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mobile_ads: ^5.2.0
google_mobile_ads: ^5.3.0

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/rewarded_example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (flutterVersionName == null) {
android {
namespace "com.example.rewarded_example"
compileSdkVersion flutter.compileSdkVersion
ndkVersion = "26.1.10909125"
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/rewarded_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mobile_ads: ^5.2.0
google_mobile_ads: ^5.3.0

dev_dependencies:
flutter_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (flutterVersionName == null) {
android {
namespace "com.example.rewarded_interstitial_example"
compileSdkVersion flutter.compileSdkVersion
ndkVersion = "26.1.10909125"
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion samples/admob/rewarded_interstitial_example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mobile_ads: ^5.2.0
google_mobile_ads: ^5.3.0

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit c5bb49a

Please sign in to comment.