Rewarded video ad resume method
I'm implementing rewarded video on an application in c++ on ios and android, but the crash happened only on android. It happens only sometimes, when it comes from background to foreground. I got the message Abort message: 'rewarded_video::Initialize() must be called before this method.' on crash report, and I think it`s when the resume method from the rewarded video is called. Does anybody knows if I have someway of knowing if resume is supposed to be called? Or should it be called whenever the app enters foreground? Thanks in advance, Felipe.
I found out what the problem was. My app on android was creating another instance when opened from another source, and that was causing the error message on the rewarded video. I added android:launchMode="singleTask" on the manifest and it worked.
Attempt to invoke virtual method 'boolean java.util.ArrayList.isEmpty()' on a null object reference
Can I add autocomplete feature to my alert input dialog?
Java RSS Feed Reader Android Studio
Android Lollipop Set Status Bar Text Color
Location updates using google fused API client don't work
isReachable not working in android studio
CardView Click state not working [closed]
Performance Testing for Native Mobile Applications
Overriding string resources from module/library that have translations in Android
Android: how to change menu item at page scrolling with ViewPager?
transfer udp packets in android
Android SqliteAssetHelper copy user saved data
Android Studio - XML Serialization and XML Validation against .xsd schema
How to have a parallax effect between 2 ViewPagers?
SecurityException when calling BluetoothAdapter.getDefaultAdapter
Converting wav to m4a on android