Skip to content

Commit

Permalink
Updated InMobi iOS to 10.7.2.0, google_mobile_ads to 5.1.0 and CHANGE…
Browse files Browse the repository at this point in the history
…LOG (#1085)
  • Loading branch information
LTPhantom authored May 10, 2024
1 parent 890b9b2 commit 598a5fa
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 5 deletions.
8 changes: 5 additions & 3 deletions packages/mediation/gma_mediation_inmobi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## 1.0.0
## InMobi Flutter Mediation Adapter Changelog

#### 1.0.0
* Initial release.
* Verified compatibility with InMobi Android adapter version 10.6.7.1
* Verified compatibility with InMobi iOS adapter version 10.7.1.0
* Verified compatibility with InMobi Android adapter version 10.6.7.1.
* Verified compatibility with InMobi iOS adapter version 10.7.2.0.
* Built and tested with the Google Mobile Ads Flutter Plugin version 5.1.0.
44 changes: 44 additions & 0 deletions packages/mediation/gma_mediation_inmobi/example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}

def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end

File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
use_frameworks!
use_modular_headers!

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
target 'RunnerTests' do
inherit! :search_paths
end
end

post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Mediation Adapter for InMobi to use with Google Mobile Ads.
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.dependency 'GoogleMobileAdsMediationInMobi', '~> 10.7.1.0'
s.dependency 'GoogleMobileAdsMediationInMobi', '~> 10.7.2.0'
s.platform = :ios, '12.0'

# Flutter.framework does not contain a i386 slice.
Expand Down
2 changes: 1 addition & 1 deletion packages/mediation/gma_mediation_inmobi/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ environment:
dependencies:
flutter:
sdk: flutter
google_mobile_ads: ^5.0.0
google_mobile_ads: ^5.1.0
plugin_platform_interface: ^2.0.2

dev_dependencies:
Expand Down

0 comments on commit 598a5fa

Please sign in to comment.