appodeal-cordova-plugin
appodeal-cordova-plugin copied to clipboard
error when compiling ?
Hi,
since cordova ios 4.X still not stable i'm using cordova ios 3.9.2 and xcode 7
i'm facing errors when compiling
check the image attached
can you please create a new git repo for ios 3.9.2
i can't use ios 4.X.X because of its instanstability and the plugin i use is only supported on io 3.2.1
thanks
urgent
@matrixreal Hi! Sorry for delay. I will try to rework callbacks with 3.x compatibility. Will update you till tomorrow. Is there any other problems except callbacks (webViewEngine not found)?
@NazarKozak no it's okay only callbacks problems thank you
or you can just create new appodealplugin.m file for ios 3.9.2 and you put it in the same folder with for example appodealplugin-ios3.m and we just need to remove / rename files as we use it
@matrixreal i've made some changes and tested with Cordova ios@^3.9.2, it should work now.
@matrixreal is it working for you?
@NazarKozak yes it's works but i did notice that now it's times more time to load rewarded video than before
@NazarKozak also ... when we finish viewing the rewarded video we got white screen this not happen before (appodeal 1.3.1)
@matrixreal what version of iOS SDK was in that you have used before? I've tested rewarded video, works fine for me. Can you give me some details (device and ios ver, xcode ver). Also maybe you can send me log?
@matrixreal do you still have problems with plugin?
when we finish viewing the rewarded video we got white screen. Is it normal?
@NazarKozak @KrylovAlexey you see ... we have the same problem .... white screen after the rewarded video
Same issue here on iOS. Here's the output of the ionic info:
Your system information:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.4.0
Xcode version: Xcode 8.2.1 Build version 8C1002
ionic plugin list
com.appodeal.plugin 2.1.0 "Appodeal Plugin"
cordova-plugin-console 1.0.5 "Console"
cordova-plugin-crosswalk-webview 2.2.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-device-motion 1.2.3 "Device Motion"
cordova-plugin-email 1.2.6 "EmailComposer"
cordova-plugin-inappbrowser 1.6.1 "InAppBrowser"
cordova-plugin-inapppurchase 1.0.0 "In App Purchase"
cordova-plugin-insomnia 4.2.0 "Insomnia (prevent screen sleep)"
cordova-plugin-nativeaudio 3.0.7 "Cordova Native Audio"
cordova-plugin-splashscreen 4.0.1 "Splashscreen"
cordova-plugin-statusbar 2.2.1 "StatusBar"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-sqlite-storage 2.0.1 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
me.tonny.cordova.plugins.multidex 0.1.0 "Cordova Multi Dex"
@matrixreal @vintage hello, can you please give us additional information? What devices did you use for tests, what iOS version and what ad network was it? Or you are getting white screen always after finishing rewarded video?
@meeeeeepo Device: Iphone SE System: iOS 10.2 (14C92) Orientation: Landscape only Ad network: eg. AdColony, but same situation occurs when forcing test mode and test ad from Appodeal is presented. After closing the add white screen hits you.
@vintage @matrixreal @KrylovAlexey we found that white screen is a result of conflict with cordova-plugin-statusbar. When ad is closed cordova-plugin-statusbar is capturing wrong view and sets current webView frame (0,0,0,0). To solve this try removing cordova-plugin-statusbar from your project
@meeeeeepo Thanks a lot, after removing the cordova-plugin-statusbar
everything works well now! The reward video is presented, all the events are published to the app, the flow works as is should :) It's a great experience to use library with such support.
@vintage you are welcome! If you will need that cordova-plugin-statusbar
plugin then you can download it from here https://github.com/appodeal/cordova-plugin-statusbar, we've made some changes there so white screen shouldn't appear with that version of plugin
@NazarKozak @meeeeeepo thanks a lot will give it a try can you tell us where to download the biggest file on this plugin ?
@matrixreal You don't need to download anything. Plugin already contains all the SDK's.
@NazarKozak
Hi,
thanks a lot everything works good
i just have problem on my appodeal dashboard when i try to synchronise with admob and i get this error
@matrixreal Can you forward this to our support team? They should be able to help you with this.
@matrixreal Try to disable the adblock :)
@vintage damnnnn man .... it works ... i was stuck on it since 3 days of try thank you man
@NazarKozak i have a top chart game wich is connected to the old appodeal plugin (1.1.4) do you think that if i update it with lastest version it will have impact on ecpm / revenue ? thank you
@matrixreal it should improve revenue :)
@NazarKozak Hi, can you kindly test the plugin with cordova ios 3.9.2 ? it still crash and get white screen i don't use cordova ios 4.x cause it still bug with other plugins that i need to use (iap plugins, iframe plugin etc ...) thank you
@NazarKozak please can you do something ? the white screen is still happen after the rewarded video on cordova ios 3.9.2
@NazarKozak hi ... i did spent 6 hours to test and test on different devices ios9 and ios10 with different cordova ios version and i did got these conclusions :
1- Cordova ios 4.3.1 wich is good but has bad performance and lag (specially when we use banner) but it work good (banner , interstitial, rewarded video) no problem at all .... but since it's laggy and has bad performance and low fsp ... we are forced to use the wkwebview official plugin wich improve the performance .... when we get wkwebview installed , all work good but after the rewarded video we got black screen with the message "error local server" (note that to make the wkwebview plugin work we have to install the cordova-plugin-file and cordova-plugin-httpd plugins) see picture 1
2- with corova ios 3.9.2 all is perfect except sometimes we get white screen after the rewarded video (with and without your updated status bar plugin)
i hope that will help and hope the problem will be fixed soon
@matrixreal can you please give full list of plugins that you use with [email protected]? i tested plugin with that ios version and didnt get white screen
@meeeeeepo com.appodeal.plugin 2.1.0 "Appodeal Plugin" com.rjfun.cordova.httpd 0.9.2 "CorHttpd" com.telerik.plugins.wkwebview 0.6.10 "WKWebView Polyfill" cordova-plugin-app-event 1.2.0 "Application Events" cordova-plugin-compat 1.1.0 "Compat" cordova-plugin-device 1.1.4 "Device" cordova-plugin-dialogs 1.3.1 "Notification" cordova-plugin-file 4.3.1 "File" cordova-plugin-game-center 0.4.2 "Game Center" cordova-plugin-inappbrowser 1.6.1 "InAppBrowser" cordova-plugin-payment-iap 2.0.52 "Cordova IAP plugin" cordova-plugin-share-reviewapp 1.0.25 "Cordova ReviewApp plugin" cordova-plugin-statusbar 2.2.2-dev "StatusBar" cordova-plugin-webserver 1.0.3 "CordovaWebServer" cordova-plugin-whitelist 1.3.1 "Whitelist" cordova-plugin-x-socialsharing 5.0.7 "SocialSharing" de.appplant.cordova.plugin.local-notification 0.8.4 "LocalNotification"
Please test it on real device .... simulator is working on both ios 4.x and 3.9.2
thanks
@matrixreal can you try removing cordova-plugin-statusbar to test if it is the reason of problem?