vegidio / flutter-appodeal Goto Github PK
View Code? Open in Web Editor NEWA Flutter plugin to display ads from Appodeal; it supports consent dialog to track users.
Home Page: https://pub.dev/packages/appodeal_flutter
License: MIT License
A Flutter plugin to display ads from Appodeal; it supports consent dialog to track users.
Home Page: https://pub.dev/packages/appodeal_flutter
License: MIT License
When we set the package for auto cache it downloads and cache the ads. But after a while the app is becoming slower and slower on some devices it’s crashing.
Once the ad is displayed is the cache of that ad gets deleted ? How to handle his?
appodeal_flutter-1.1.1/android/src/main/kotlin/io/vinicius/appodeal_flutter/RewardedCallback.kt: (37, 21): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.
got this while integrating this library into my project
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugAssets'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform ads-sdk-3.7.1.4.aar (com.pangle.global:ads-sdk:3.7.1.4) to match attributes {artifactType=android-assets, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not download ads-sdk-3.7.1.4.aar (com.pangle.global:ads-sdk:3.7.1.4)
> Could not get resource 'https://artifactory.appodeal.com/appodeal/com/pangle/global/ads-sdk/3.7.1.4/ads-sdk-3.7.1.4.aar'.
> Premature end of Content-Length delimited message body (expected: 2,729,376; received: 41,924)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 8s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6.1 20G224 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.62.0)
[✓] Connected device (3 available)
• No issues found!
After interstitial timer finishes, I get a whole black screen and either need to wait a few more seconds for the Close button to appear or press the back button to get out of it.
I tried to catch it with standard try-catch in the dart, but it doesn't work. I'm receiving many crash reports from my users in production. I don't know if the problem is valid for iOS as well.
Can I help somehow to fix the problem ASAP?
D/libc-netbsd( 7179): getaddrinfo: a.appbaqend.com get result from proxy gai_error = 7
W/System.err( 7179): java.net.UnknownHostException: Unable to resolve host "a.appbaqend.com": No address associated with hostname
W/System.err( 7179): at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:125)
W/System.err( 7179): at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)
W/System.err( 7179): at java.net.InetAddress.getAllByName(InetAddress.java:757)
W/System.err( 7179): at com.android.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)
W/System.err( 7179): at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:187)
W/System.err( 7179): at com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:156)
W/System.err( 7179): at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:98)
W/System.err( 7179): at com.android.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:372)
W/System.err( 7179): at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:355)
W/System.err( 7179): at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:273)
W/System.err( 7179): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:474)
W/System.err( 7179): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:126)
W/System.err( 7179): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:257)
W/System.err( 7179): at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
W/System.err( 7179): at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java)
W/System.err( 7179): at com.explorestack.consent.task.b.a(Unknown Source)
W/System.err( 7179): at com.explorestack.consent.task.b.doInBackground(Unknown Source)
W/System.err( 7179): at android.os.AsyncTask$2.call(AsyncTask.java:305)
W/System.err( 7179): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
W/System.err( 7179): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
W/System.err( 7179): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
W/System.err( 7179): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
W/System.err( 7179): at java.lang.Thread.run(Thread.java:761)
W/System.err( 7179): Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname)
W/System.err( 7179): at libcore.io.Posix.android_getaddrinfo(Native Method)
W/System.err( 7179): at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)
W/System.err( 7179): at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:106)
W/System.err( 7179): ... 22 more
D/Consent Manager [IO]( 7179): Network Error: java.net.UnknownHostException: Unable to resolve host "a.appbaqend.com": No address associated with hostname(com.android.okhttp.internal.huc.HttpURLConnectionImpl:https://a.appbaqend.com/consent/check)
D/AndroidRuntime( 7179): Shutting down VM
I/AppMetrica( 7179): [com.my.app] : [ecdacfea-xxxx-xxxx-xxxx-xxxxxxxx7ecc] Unhandled exception received: UnhandledException{errorName='java.lang.IllegalArgumentException', exception=java.lang.IllegalArgumentException: Unsupported value: com.explorestack.consent.exception.ConsentManagerNetworkException@8dd04b8
I/AppMetrica( 7179): at io.flutter.plugin.common.StandardMessageCodec.writeValue(StandardMessageCodec.java:278)
I/AppMetrica( 7179): at io.flutter.plugin.common.StandardMethodCodec.encodeErrorEnvelope(StandardMethodCodec.java:75)
I/AppMetrica( 7179): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error(MethodChannel.java:243)
I/AppMetrica( 7179): at io.vinicius.appodeal_flutter.AppodealFlutterPlugin$fetchConsentInfo$1.onFailedToUpdateConsentInfo(AppodealFlutterPlugin.kt:264)
I/AppMetrica( 7179): at com.explorestack.consent.ConsentManager$2.a(null:-1)
I/AppMetrica( 7179): at com.explorestack.consent.task.b.onPostExecute(null:-1)
I/AppMetrica( 7179): at android.os.AsyncTask.finish(AsyncTask.java:667)
I/AppMetrica( 7179): at android.os.AsyncTask.-wrap1(AsyncTask.java:-1)
I/AppMetrica( 7179): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
I/AppMetrica( 7179): at android.os.Handler.dispatchMessage(Handler.java:110)
I/AppMetrica( 7179): at android.os.Looper.loop(Looper.java:203)
I/AppMetrica( 7179): at android.app.ActivityThread.main(ActivityThread.java:6608)
I/AppMetrica( 7179): at java.lang.reflect.Method.invoke(Method.java:-2)
I/AppMetrica( 7179): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1134)
I/AppMetrica( 7179): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)
I/AppMetrica( 7179): }
I/art ( 7179): Do partial code cache collection, code=62KB, data=55KB
I/art ( 7179): After code cache collection, code=56KB, data=51KB
I/art ( 7179): Increasing code cache capacity to 256KB
E/AndroidRuntime( 7179): FATAL EXCEPTION: main
E/AndroidRuntime( 7179): Process: com.my.app, PID: 7179
E/AndroidRuntime( 7179): java.lang.IllegalArgumentException: Unsupported value: com.explorestack.consent.exception.ConsentManagerNetworkException@8dd04b8
E/AndroidRuntime( 7179): at io.flutter.plugin.common.StandardMessageCodec.writeValue(StandardMessageCodec.java:278)
E/AndroidRuntime( 7179): at io.flutter.plugin.common.StandardMethodCodec.encodeErrorEnvelope(StandardMethodCodec.java:75)
E/AndroidRuntime( 7179): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error(MethodChannel.java:243)
E/AndroidRuntime( 7179): at io.vinicius.appodeal_flutter.AppodealFlutterPlugin$fetchConsentInfo$1.onFailedToUpdateConsentInfo(AppodealFlutterPlugin.kt:264)
E/AndroidRuntime( 7179): at com.explorestack.consent.ConsentManager$2.a(Unknown Source)
E/AndroidRuntime( 7179): at com.explorestack.consent.task.b.onPostExecute(Unknown Source)
E/AndroidRuntime( 7179): at android.os.AsyncTask.finish(AsyncTask.java:667)
E/AndroidRuntime( 7179): at android.os.AsyncTask.-wrap1(AsyncTask.java)
E/AndroidRuntime( 7179): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
E/AndroidRuntime( 7179): at android.os.Handler.dispatchMessage(Handler.java:110)
E/AndroidRuntime( 7179): at android.os.Looper.loop(Looper.java:203)
E/AndroidRuntime( 7179): at android.app.ActivityThread.main(ActivityThread.java:6608)
E/AndroidRuntime( 7179): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 7179): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1134)
E/AndroidRuntime( 7179): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)
Lost connection to device.
Flutter doctor:
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-RU)
• Flutter version 1.22.4 at /Users/user/flutter
• Framework revision 1aafb3a8b9 (2 weeks ago), 2020-11-13 09:59:28 -0800
• Engine revision 2c956a31c0
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/user/Library/Android/sdk
• Platform android-30, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
Hello everyone and great respect!
Could you please implement the ability to set a user id for server side validation of RewardedAd?
When app is compiled I don't see any banner and when clicking "Should I collect user consent?" I get these errors:
Error occurred while serializing synchronisation response
CONSENT_INFO_ERROR
This is the error I am getting-
The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers *
E/AndroidRuntime(17240): * should follow the instructions here: *
E/AndroidRuntime(17240): * https://googlemobileadssdk.page.link/admob-android-update-manifest *
E/AndroidRuntime(17240): * to add a valid App ID inside the AndroidManifest. *
E/AndroidRuntime(17240): * Google Ad Manager publishers should follow instructions here: *
E/AndroidRuntime(17240): * https://googlemobileadssdk.page.link/ad-manager-android-update-manifest.
In Java, Mrec banners can be destroyed like this:
Appodeal.destroy(Appodeal.MREC);
But such a function is missing in the Appodeal class of this plugin. The function would probably be worth implementing.
iOS error on xcode 11
No such module 'AppTrackingTransparency' Error
SwiftAppodealFlutterPlugin.swift:1:8: error: no such module 'AppTrackingTransparency' import AppTrackingTransparency
I'm using your plugin and it's great, it works on a mobile phone; but in the android tv emulator and in android tv I have a platform exception, I wonder if it is your plugin or the appodeal sdk, or maybe it is the activity configured in AndroidManifest.xml: . The following is the exception I get:
W/System.err( 4812): javax.net.ssl.SSLHandshakeException: Chain validation failed
W/System.err( 4812): at com.android.org.conscrypt.ConscryptFileDescriptorSocket.startHandshake(ConscryptFileDescriptorSocket.java:229)
W/System.err( 4812): at com.android.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:192)
W/System.err( 4812): at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:149)
W/System.err( 4812): at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:112)
W/System.err( 4812): at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184)
W/System.err( 4812): at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
W/System.err( 4812): at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
W/System.err( 4812): at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281)
W/System.err( 4812): at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224)
W/System.err( 4812): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461)
W/System.err( 4812): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
W/System.err( 4812): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:258)
W/System.err( 4812): at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
W/System.err( 4812): at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:26)
W/System.err( 4812): at com.explorestack.consent.task.b.a(Unknown Source:58)
W/System.err( 4812): at com.explorestack.consent.task.b.doInBackground(Unknown Source:0)
W/System.err( 4812): at android.os.AsyncTask$2.call(AsyncTask.java:333)
W/System.err( 4812): at java.util.concurrent.FutureTask.run(FutureTask.java:266)
W/System.err( 4812): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
W/System.err( 4812): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
W/System.err( 4812): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
W/System.err( 4812): at java.lang.Thread.run(Thread.java:764)
Caused by: java.security.cert.CertificateException: Chain validation failed
W/System.err( 4812): at com.android.org.conscrypt.TrustManagerImpl.verifyChain(TrustManagerImpl.java:707)
W/System.err( 4812): at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:539)
W/System.err( 4812): at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:560)
W/System.err( 4812): at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:605)
W/System.err( 4812): at com.android.org.conscrypt.TrustManagerImpl.checkTrustedRecursive(TrustManagerImpl.java:628)
W/System.err( 4812): at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:495)
W/System.err( 4812): at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:418)
W/System.err( 4812): at com.android.org.conscrypt.TrustManagerImpl.getTrustedChainForServer(TrustManagerImpl.java:339)
W/System.err( 4812): at android.security.net.config.NetworkSecurityTrustManager.checkServerTrusted(NetworkSecurityTrustManager.java:94)
W/System.err( 4812): at android.security.net.config.RootTrustManager.checkServerTrusted(RootTrustManager.java:88)
W/System.err( 4812): at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:208)
W/System.err( 4812): at com.android.org.conscrypt.ConscryptFileDescriptorSocket.verifyCertificateChain(ConscryptFileDescriptorSocket.java:404)
W/System.err( 4812): at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
W/System.err( 4812): at com.android.org.conscrypt.NativeSsl.doHandshake(NativeSsl.java:375)
W/System.err( 4812): at com.android.org.conscrypt.ConscryptFileDescriptorSocket.startHandshake(ConscryptFileDescriptorSocket.java:224)
W/System.err( 4812): ... 21 more
W/System.err( 4812): Caused by: java.security.cert.CertPathValidatorException: Responder's certificate not within the validity period
W/System.err( 4812): at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135)
W/System.err( 4812): at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:222)
W/System.err( 4812): at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)
W/System.err( 4812): at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)
W/System.err( 4812): at java.security.cert.CertPathValidator.validate(CertPathValidator.java:301)
W/System.err( 4812): at com.android.org.conscrypt.TrustManagerImpl.verifyChain(TrustManagerImpl.java:703)
W/System.err( 4812): ... 35 more
W/System.err( 4812): Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: Wed Sep 01 07:00:00 GMT 2021
W/System.err( 4812): at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:270)
W/System.err( 4812): at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:646)
W/System.err( 4812): at sun.security.provider.certpath.OCSPResponse.verify(OCSPResponse.java:526)
W/System.err( 4812): at sun.security.provider.certpath.RevocationChecker.checkOCSP(RevocationChecker.java:709)
W/System.err( 4812): at sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:363)
W/System.err( 4812): at sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:337)
W/System.err( 4812): at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125)
W/System.err( 4812): ... 40 more
D/Consent Manager IO: Network Error: javax.net.ssl.SSLHandshakeException: Chain validation failed(com.android.okhttp.internal.huc.HttpURLConnectionImpl:https://a.appbaqend.com/consent/check)
I/flutter ( 4812): PlatformException(CONSENT_INFO_ERROR, Consent Manager Internal Error - javax.net.ssl.SSLHandshakeException: Chain validation failed, null, null)
Sometimes i get this error, sometimes the ad runs regularly
any help?
E/AndroidRuntime(22733): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3431)
E/AndroidRuntime(22733): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
E/AndroidRuntime(22733): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
E/AndroidRuntime(22733): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime(22733): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime(22733): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
E/AndroidRuntime(22733): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(22733): at android.os.Looper.loop(Looper.java:223)
E/AndroidRuntime(22733): at android.app.ActivityThread.main(ActivityThread.java:7660)
E/AndroidRuntime(22733): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(22733): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/AndroidRuntime(22733): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/AndroidRuntime(22733): Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.explorestack.iab.vast.i.values []
E/AndroidRuntime(22733): at java.lang.Enum.enumValues(Enum.java:270)
E/AndroidRuntime(22733): at java.lang.Enum.access$000(Enum.java:61)
E/AndroidRuntime(22733): at java.lang.Enum$1.create(Enum.java:277)
E/AndroidRuntime(22733): at java.lang.Enum$1.create(Enum.java:275)
E/AndroidRuntime(22733): at libcore.util.BasicLruCache.get(BasicLruCache.java:63)
E/AndroidRuntime(22733): at java.lang.Enum.getSharedConstants(Enum.java:289)
E/AndroidRuntime(22733): at java.lang.Enum.valueOf(Enum.java:243)
E/AndroidRuntime(22733): at java.io.ObjectInputStream.readEnum(ObjectInputStream.java:1841)
E/AndroidRuntime(22733): at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1409)
E/AndroidRuntime(22733): at java.io.ObjectInputStream.readObject(ObjectInputStream.java:427)
E/AndroidRuntime(22733): at android.os.Parcel.readSerializable(Parcel.java:3455)
E/AndroidRuntime(22733): at android.os.Parcel.readSerializable(Parcel.java:3425)
E/AndroidRuntime(22733): at com.explorestack.iab.vast.VastRequest.<init>(Unknown Source:67)
E/AndroidRuntime(22733): at com.explorestack.iab.vast.VastRequest$e.createFromParcel(Unknown Source:2)
E/AndroidRuntime(22733): at android.os.Parcel.readParcelable(Parcel.java:3281)
E/AndroidRuntime(22733): at android.os.Parcel.readValue(Parcel.java:3174)
E/AndroidRuntime(22733): at android.os.Parcel.readArrayMapInternal(Parcel.java:3567)
E/AndroidRuntime(22733): at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:292)
E/AndroidRuntime(22733): at android.os.BaseBundle.unparcel(BaseBundle.java:236)
E/AndroidRuntime(22733): at android.os.Bundle.getBundle(Bundle.java:974)
E/AndroidRuntime(22733): at com.google.firebase.messaging.p.onActivityCreated(com.google.firebase:firebase-messaging@@22.0.0:4)
E/AndroidRuntime(22733): at android.app.Application.dispatchActivityCreated(Application.java:373)
E/AndroidRuntime(22733): at android.app.Activity.dispatchActivityCreated(Activity.java:1316)
E/AndroidRuntime(22733): at android.app.Activity.onCreate(Activity.java:1589)
E/AndroidRuntime(22733): at com.explorestack.iab.vast.activity.VastActivity.onCreate(Unknown Source:18)
E/AndroidRuntime(22733): at android.app.Activity.performCreate(Activity.java:8000)
E/AndroidRuntime(22733): at android.app.Activity.performCreate(Activity.java:7984)
E/AndroidRuntime(22733): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
E/AndroidRuntime(22733): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3404)
E/AndroidRuntime(22733): ... 11 more
E/AndroidRuntime(22733): Caused by: java.lang.NoSuchMethodException: com.explorestack.iab.vast.i.values []
E/AndroidRuntime(22733): at java.lang.Class.getMethod(Class.java:2072)
E/AndroidRuntime(22733): at java.lang.Class.getDeclaredMethod(Class.java:2050)
E/AndroidRuntime(22733): at java.lang.Enum.enumValues(Enum.java:267)
E/AndroidRuntime(22733): ... 39 more
You can update the sdk to the new version: 2.10.2 (Aug 6, 2021), maybe this will fix the issues with the baners. Thanks
There is this Appodeal plugin that can load native ads from appodeal. But it is not as good as your plugin. Can you please support native ad in your plugin also? You probably would be able to reference some pattern from his plugin.
I am sincerely asking your help for my new app. Thanks a lot for your great plugin
[!] Error installing AppRollSDK
[!] /usr/bin/curl -f -L -o /var/folders/1q/z87fjnmj5zg_575hxzmyd2080000gn/T/d20220105-11100-4mx5ll/file.zip https://xid.adroll.com/iOS-AppRollSDK-CocoaPods-3.1.2.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.11.2 cocoapods-downloader/1.5.1'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 1 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Transient problem: timeout Will retry in 2 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: xid.adroll.com
I am getting above error, I am using mac M1. I checked by removing flutter-appodeal and my project is running well. It seems any internal pod issue or anything. Any solution? Please suggest.
Errors below seem related to flutterlocation package
java.lang.NullPointerException: Attempt to invoke virtual method 'io.flutter.plugin.common.PluginRegistry$RequestPermissionsResultListener com.lyokone.location.FlutterLocationService.getServiceRequestPermissionsResultListener()' on a null object reference E/AndroidRuntime( 4692): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5309) E/AndroidRuntime( 4692): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5339) E/AndroidRuntime( 4692): at android.app.ActivityThread.handleRelaunchActivityInner(ActivityThread.java:5631) E/AndroidRuntime( 4692): at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5561) E/AndroidRuntime( 4692): at android.app.servertransaction.ActivityRelaunchItem.execute(ActivityRelaunchItem.java:69) E/AndroidRuntime( 4692): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) E/AndroidRuntime( 4692): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) E/AndroidRuntime( 4692): at android.app.ClientTransactionHandler.executeTransaction(ClientTransactionHandler.java:58) E/AndroidRuntime( 4692): at android.app.ActivityThread.handleRelaunchActivityLocally(ActivityThread.java:5614) E/AndroidRuntime( 4692): at android.app.ActivityThread.access$3700(ActivityThread.java:274) E/AndroidRuntime( 4692): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2256) E/AndroidRuntime( 4692): at android.os.Handler.dispatchMessage(Handler.java:106) E/AndroidRuntime( 4692): at android.os.Looper.loop(Looper.java:233) E/AndroidRuntime( 4692): at android.app.ActivityThread.main(ActivityThread.java:8010) E/AndroidRuntime( 4692): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime( 4692): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631) E/AndroidRuntime( 4692): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978) E/AndroidRuntime( 4692): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'io.flutter.plugin.common.PluginRegistry$RequestPermissionsResultListener com.lyokone.location.FlutterLocationService.getServiceRequestPermissionsResultListener()' on a null object reference E/AndroidRuntime( 4692): at com.lyokone.location.LocationPlugin.deinitialize(LocationPlugin.java:117) E/AndroidRuntime( 4692): at com.lyokone.location.LocationPlugin.detachActivity(LocationPlugin.java:56) E/AndroidRuntime( 4692): at com.lyokone.location.LocationPlugin.onDetachedFromActivityForConfigChanges(LocationPlugin.java:74) E/AndroidRuntime( 4692): at io.flutter.embedding.engine.FlutterEnginePluginRegistry.detachFromActivityForConfigChanges(FlutterEnginePluginRegistry.java:328) E/AndroidRuntime( 4692): at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onDetach(FlutterActivityAndFragmentDelegate.java:510) E/AndroidRuntime( 4692): at io.flutter.embedding.android.FlutterFragment.onDetach(FlutterFragment.java:644) E/AndroidRuntime( 4692): at androidx.fragment.app.Fragment.performDetach(Fragment.java:2839) E/AndroidRuntime( 4692): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1034) E/AndroidRuntime( 4692): at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238) E/AndroidRuntime( 4692): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303) E/AndroidRuntime( 4692): at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2659) E/AndroidRuntime( 4692): at androidx.fragment.app.FragmentManagerImpl.dispatchDestroy(FragmentManagerImpl.java:2644) E/AndroidRuntime( 4692): at androidx.fragment.app.FragmentController.dispatchDestroy(FragmentController.java:329) E/AndroidRuntime( 4692): at androidx.fragment.app.FragmentActivity.onDestroy(FragmentActivity.java:366) E/AndroidRuntime( 4692): at android.app.Activity.performDestroy(Activity.java:8251) E/AndroidRuntime( 4692): at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1364) E/AndroidRuntime( 4692): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5294) E/AndroidRuntime( 4692): ... 16 more
After adding apptodeal dependencies on my flutter project, i got this conflict
Duplicate class com.google.android.gms.measurement.internal.zzik found in modules jetified-play-services-measurement-base-17.5.0-runtime.jar (com.google.android.gms:play-services-measurement-base:17.5.0) and jetified-play-services-measurement-impl-17.0.0-runtime.jar (com.google.android.gms:play-services-measurement-impl:17.0.0)
It seems those library conflicted because contains the same class with the same package. Any advice how to solve this issue ? Thanks
From tomorrow (April 1), Facebook will on longer support mediation for iOS apps, it now will only support open bidding.
Later this year (September I think), Facebook will also stop mediation for Android apps in favour of open bidding.
At the moment, Appodeal doeal not support Open bidding with Facebook. I have asked Appodeal if they will become a verified partner with FB, but they are unable to give a concrete answer. It looks like they want to but FB would need to be on board with this.
Other netowrks like Mopub and Applovin Max will support it.
You have written a fantastic plugin here for Appodeal and I have been using it for some time now.
Is there ANY chance you would consider writing a similar on for Mopub or Applovin Max?
There are the beginnings of plugins for Mopub and Applovin Max already thee but nothing of the quality of this Appodeal plugin.
I'd love to see MREC ads supported.
Sadly, I'm not experienced enough to implement it myself.
Any help?
After upgrading to version appodeal_flutter 1.1.0 I get the below error when running..
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:dataBindingMergeDependencyArtifactsBluerDevDebug'.
> Could not resolve all files for configuration ':app:bluerDevDebugRuntimeClasspath'.
> Failed to transform ads-sdk-3.7.1.4.aar (com.pangle.global:ads-sdk:3.7.1.4) to match attributes {artifactType=android-databinding, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Could not find ads-sdk-3.7.1.4.aar (com.pangle.global:ads-sdk:3.7.1.4).
Searched in the following locations:
https://artifactory.appodeal.com/appodeal/com/pangle/global/ads-sdk/3.7.1.4/ads-sdk-3.7.1.4.aar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2m 21s
Exception: Gradle task assembleBluerDevDebug failed with exit code 1
Exited (sigterm)
The temporary fix, for now, is downgrading back to v1.0.1.
Hello,
First of all this is an outstanding contribution to the community, thanks so much!
I am wondering if you have any plans to add support for segments or setting basic user-data (like age or gender), so that the library could be used in a production environment in which stats are tracked.
After uploading app bundle in Google Play Console, it got rejected stating that I am requesting location and permissions cannot be requested for app targeted for children. Checking the app bundle explorer revealed that it is requesting, android.permission.ACCESS_COARSE_LOCATION, android.permission.ACCESS_FINE_LOCATION, But in my app, I am not requesting such permissions. I understand that the Appodeal request such permissions for targeted ADS. But I set the consent to false in the code and did not request for location permissions, yet the play console detected that such permission are being requested
Hi there,
Fantastic library by the way. Works very well.
Recently Appodeal added support for proper In App Header bidding for Facebook ads BUT I'm afraid it requires AppoDeal 2.10.3
It would be great if this Flutter library could be updated to support this Appodeal SDK.
Thanks
I call Appodeal.show(AdType.NON_SKIPPABLE)
, but provided to Appodeal.setNonSkippableCallback
function is never triggered. Function provided to Appodeal.setRewardCallback
is triggered instead.
Platform: Android
Appodeal package version: 0.3.2
why is dashboard complaining about this? Is that necessary? If so adding it to the instructions here please
Hi,
We are experiencing some weird behavior regarding the reward ads. The problems started to get worse after the latest update 0.3.1
. When running with testMode=true
in the emulator we can see that reward ads are loaded but we cannot get them to show.
In production we need to restart the app between successfully shown reward ads to show them again.
We used to have problems with this only on iOS but now it seems to be equally broken.
I need to display them for tablet
I added a non-skippable callback but never call to show a non skippable ad at all. still, after the rewarded ad shows and closed, another non-skippable ad appears as the non-skippable callback fires too.
Upon call of Appodeal.shouldShowConsent(); the app crashes with the message:
Unsupported value: Error Domain=com.stack.consentmanager.error Code=1 "Error occurred while serializing synchronisation response" UserInfo={NSLocalizedDescription=Error occurred while serializing synchronisation response} of type NSError
*** Assertion failure in -[FlutterStandardWriter writeValue:], FlutterStandardCodec.mm:330
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec'
*** First throw call stack:
(0x185300878 0x199856c50 0x185206000 0x18659791c 0x10833b790 0x10833872c 0x10536cd24 0x105379134 0x1046ab67c 0x184ef324c 0x184ef4db0 0x184f027ac 0x18527c11c 0x185276120 0x18527521c 0x19c2f4784 0x187cae200 0x187cb3a74 0x104600be0 0x184f356c0)
libc++abi.dylib: terminating with uncaught exception of type NSException
__pthread_kill + 8 libsystem_kernel.dylib
__pthread_kill:As I understood, it is not possible to provide placement name as a param for Appodeal.show() method.
Is it possible to implement it? Native libs provide such a feature.
[!] CocoaPods could not find compatible versions for pod "appodeal_flutter":
In Podfile:
appodeal_flutter (from .symlinks/plugins/appodeal_flutter/ios
)
Specs satisfying the appodeal_flutter (from
.symlinks/plugins/appodeal_flutter/ios)
dependency were found, but they required a higher minimum deployment target.
Hello @vegidio , thank you for you work. It's really great. But I have small issue - on Android when using not test mode (in released app) Android don't want display a banner ad. It seems that BannerAd loads successfully (callback onBannerLoaded is triggered), then shows in view but after 3-5 sec it disappears.
I contacted Appodeal SDK team - they said it can be problem that some view overlaps it. But in my app BannerAd is at the bottom of the screen and doesn't overlap with any widget.
I tested with Example provider in your repository - same behaviour.
Thank you for the plugin. I have a problem with banner . Only one banner is allowed in the whole app. I understand that Appodeal won't show two banner in one page but even if I navigate to new Screen. The banner there won't show until I remove the banner from other page.
Please also support Native ad if you have time. Thank you so much for your work. I suggest you use Kofi so that we can buy you a cup of tea or two.
Is there a plan for adding null-safety support for this?
Testing on Android
Exception has occurred.
_TypeError (type 'Null' is not a subtype of type 'String')
• Flutter version 2.2.3 at C:\_SDK\flutter
• Framework revision f4abaa0735 (10 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
• appodeal_flutter: ^1.1.0
When I run the app for first time, userConsent.status == ConsentStatus.UNKNOWN
return true and I call Appodeal.requestConsentAuthorization();
. choose I agree, so it works fine.
When I run the app for second and more time, always stuck on "var userConsent = await Appodeal.fetchConsentInfo()" with null exception.
Any ideas?
Hello,
Tried to add flutter_appodeal library to my existing app, I encounter the following error message
Note : I have changed the minSdkVersion in build.grade to "21" in order to avoid multidex configuration
Any help will be very appreciated
Error :
[com.my.target:mytarget-sdk:5.11.0] C:\Users\Mohamed Yousry.gradle\caches\transforms-2\files-2.1\3d884126a7f292533bb9e92e8f0b04cc\mytarget-sdk-5.11.0\AndroidManifest.xml:15:9-54 Error:
Missing 'package' key attribute on element package at [com.my.target:mytarget-sdk:5.11.0] AndroidManifest.xml:15:9-54
[com.my.target:mytarget-sdk:5.11.0] C:\Users\Mohamed Yousry.gradle\caches\transforms-2\files-2.1\3d884126a7f292533bb9e92e8f0b04cc\mytarget-sdk-5.11.0\AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
Manifest merger failed with multiple errors, see logs
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 2s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
In reports in appodeal there are users and requests but not views. Support did'not catch bag.
https://github.com/dumptyhumpty2014gmail/ruscityquiz
Hi, I've this error:
In Podfile:
appodeal_flutter (from .symlinks/plugins/appodeal_flutter/ios
) was resolved to 1.1.1, which depends on
APDGoogleAdMobAdapter (= 2.10.2.2) was resolved to 2.10.2.2, which depends on
Google-Mobile-Ads-SDK (~> 8.9.0)
google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 0.0.1, which depends on
Google-Mobile-Ads-SDK (= 8.11.0)
Crash Log:
Unhandled Exception: type '(dynamic) => Null' is not a subtype of type '((MethodCall) => Future)?' in type cast
#0 Appodeal._setCallbacks (package:appodeal_flutter/src/appodeal.dart:126:7)
#1 Appodeal.initialize (package:appodeal_flutter/src/appodeal.dart:37:5)
Any fix would be greatly appreciated.
When I want to show two banners on a screen, only 1 of them appears. How can i add two banner in one screen ?
Hello,
is this lib Support Ad Meditation? if yes is there any additional configurations needed?
After this to my Info.plist
(suggested here: https://wiki.appodeal.com/en/ios/get-started/data-protection/app-tracking-transparency):
<key>NSUserTrackingUsageDescription</key>
<string>This identifier will be used to deliver personalized ads to you.</string>
I'm getting this message from Apple:
Your app contains NSUserTrackingUsageDescription, indicating that you will request permission to track users. To update this information on your app's product page, you must indicate which data types are tracking users. If this is incorrect, update your app binary and upload a new build to App Store Connect.
I added alsoAppTrackingTransparency.framework
.
So Apple needs more information about what I am collecting:
What should I mark there? (location, user content...)
What about if I don't want to track any kind of information? Is this mandatory? Because the user has the option to decline:
Also why using Appodeal.requestConsentAuthorization();
if the app is going to display something like this?
https://miro.medium.com/max/608/1*sbPGcqYB3Xiy3iAuJEt4Rw.png
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.