File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
example/android/app/src/main Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1010 <uses-permission android : name =" android.permission.ACCESS_WIFI_STATE" />
1111 <uses-permission android : name =" com.android.vending.BILLING" />
1212 <application
13- android : name =" io.flutter.app.FlutterApplication"
1413 android : label =" com.qonversion.sample"
1514 android : icon =" @mipmap/ic_launcher" >
1615 <activity
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616 s . source_files = 'Classes/**/*'
1717 s . dependency 'Flutter'
1818 s . platform = :ios , '9.0'
19- s . dependency 'Qonversion' , '2.18.1 '
19+ s . dependency 'Qonversion' , '2.18.3 '
2020
2121 # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2222 s . pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' , 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
Original file line number Diff line number Diff line change @@ -298,11 +298,12 @@ class Qonversion {
298298
299299 /// Enable attribution collection from Apple Search Ads. NO by default.
300300 static Future <void > setAppleSearchAdsAttributionEnabled (bool enable) async {
301- if (Platform .isIOS) {
302- return _channel.invokeMethod (
303- Constants .mSetAppleSearchAdsAttributionEnabled,
304- {Constants .kEnableAppleSearchAdsAttribution: enable});
301+ if (! Platform .isIOS) {
302+ return null ;
305303 }
304+
305+ return _channel.invokeMethod (Constants .mSetAppleSearchAdsAttributionEnabled,
306+ {Constants .kEnableAppleSearchAdsAttribution: enable});
306307 }
307308
308309 /// Set push token to Qonversion to enable Qonversion push notifications
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616 s . source_files = 'Classes/**/*'
1717 s . dependency 'FlutterMacOS'
1818 s . platform = :osx , '10.12'
19- s . dependency 'Qonversion' , '2.18.1 '
19+ s . dependency 'Qonversion' , '2.18.3 '
2020 s . pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2121 s . swift_version = '5.0'
2222 s . static_framework = true
You can’t perform that action at this time.
0 commit comments