appodeal-cordova-plugin icon indicating copy to clipboard operation
appodeal-cordova-plugin copied to clipboard

App Transport Security has blocked a cleartext HTTP with new cordova?

Open matrixreal opened this issue 8 years ago • 18 comments
trafficstars

Hi, i did update my cordova plugin to the latest got this message with no ads App Transport Security has blocked a cleartext HTTP appodeal3

matrixreal avatar Sep 24 '17 12:09 matrixreal

hi any news please ?

matrixreal avatar Sep 25 '17 07:09 matrixreal

@matrixreal hello, have you tried cleaning the project and rebuilding it? And are you able to get ads?

meeeeeepo avatar Sep 25 '17 11:09 meeeeeepo

And can you please provide a list of all plugins you are using?

meeeeeepo avatar Sep 25 '17 12:09 meeeeeepo

ok just give me 5 minutes to do it but just to know when i back to v 3.0.0 everything work

matrixreal avatar Sep 25 '17 12:09 matrixreal

@meeeeeepo i did try to clean the project and still same ... when i remove the plugin and back to v3.0.0 it work here are list of plugins i use 👍 cc.fovea.cordova.purchase 7.0.2 "Purchase" com.appodeal.plugin 3.0.2 "Appodeal Plugin" cordova-plugin-compat 1.1.0 "Compat" cordova-plugin-device 1.1.6 "Device" cordova-plugin-dialogs 1.3.3 "Notification" cordova-plugin-facebook4 1.9.1 "Facebook Connect" cordova-plugin-file 4.3.3 "File" cordova-plugin-game-center 0.4.2 "Game Center" cordova-plugin-httpd 0.9.3 "CorHttpd" cordova-plugin-inappbrowser 1.7.1 "InAppBrowser" cordova-plugin-share-reviewapp 1.0.26 "Cordova ReviewApp plugin" cordova-plugin-statusbar 2.2.2-dev "StatusBar" cordova-plugin-whitelist 1.3.2 "Whitelist" cordova-plugin-wkwebview-engine 1.1.3 "Cordova WKWebView Engine" cordova-plugin-x-socialsharing 5.2.0 "SocialSharing" es6-promise-plugin 4.1.0 "Promise" onesignal-cordova-plugin 2.1.2 "OneSignal Push Notifications"

matrixreal avatar Sep 25 '17 12:09 matrixreal

@matrixreal do you test on device or simulator? what xcode version do you use? what ios do you test with? I tried to reproduce with xcode 9 and iOS 10-11 but all was fine And can you share your project if it is possible? If it is not possible then can you try to reproduce it on demo project and share it?

meeeeeepo avatar Sep 25 '17 13:09 meeeeeepo

@meeeeeepo i did try on simulator ios 10.3 (ipad and iphone) real device is iphone 5c ios 10.3.3 xcode 8.3.3 as i told you if i use appodeal plugin v 3.0.0 or earlier it works perfect

matrixreal avatar Sep 25 '17 13:09 matrixreal

@meeeeeepo just switched to appodeal 3.0.0 and it work (but not with the new 3.0.2) appodeal4

matrixreal avatar Sep 25 '17 14:09 matrixreal

@matrixreal so I guess that with 3.0.2 you can't get ads?

meeeeeepo avatar Sep 25 '17 14:09 meeeeeepo

just to know here is the code that i use to initialise the sdk

function initialize() { var appKey = "bf4cf83e24be4aa009526e0a44de2409c821dabd0b24fa49"; Appodeal.setLogging(false); Appodeal.disableLocationPermissionCheck(); Appodeal.initialize(appKey, Appodeal.INTERSTITIAL | Appodeal.BANNER | Appodeal.REWARDED_VIDEO);

}

then later i call initialize();

@meeeeeepo yes it is 3.0.2 wich is not working

matrixreal avatar Sep 25 '17 14:09 matrixreal

@matrixreal ok i will check more careful today and i hope i will give you a solution tomorrow

meeeeeepo avatar Sep 25 '17 14:09 meeeeeepo

@meeeeeepo solved but this is strange i did solve the problem by removing the Appodeal.setLogging(false); call from initialising the sdk

matrixreal avatar Sep 25 '17 16:09 matrixreal

@meeeeeepo but please why you did not update for example the admob sdk ? the version on the appodeal sdk is 7.19.1 and the latest on google ads is 7.24.0

matrixreal avatar Sep 25 '17 16:09 matrixreal

@matrixreal hello again, Appodeal.setLogging(false); was removed from new cordova, i assume that was the problem About admob - as you can see here https://developers.google.com/admob/ios/rel-notes admob removed support of armv7s architecture from 7.20.0 and later versions, so we can't update it, because our SDK supports this architecture

meeeeeepo avatar Sep 26 '17 09:09 meeeeeepo

OK THANK YOU how can i replace the Appodeal.setLogging(false); call in the new sdk ?

matrixreal avatar Sep 27 '17 12:09 matrixreal

@matrixreal you can use Appodeal.setLogLevel(Appodeal.LogLevel.VERBOSE)(or DEBUG or NONE instead of verbose)

meeeeeepo avatar Sep 27 '17 13:09 meeeeeepo

none is light false (disabled)?

matrixreal avatar Sep 27 '17 17:09 matrixreal

@matrixreal yeah

meeeeeepo avatar Sep 27 '17 19:09 meeeeeepo