android


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.

Related Links

Captured image cropping issue
Tweets are not posted using Fabric
How to root Genymotion Android Emulator?
cannot run emulator in android studio and in genymotion
What is the meaning of switchSearch() method, KWS_SEARCH attribute, and parameter of startListening() method, in the demo project?
Adding onClick to RecyclerView Android [duplicate]
RecyclerView Hide behind AppbarLayout?
How to display image with intent.ACTION_VIEW
NDK Error occured while importing telegram source code from github
Picking only images from gallery Android
Getting thread error in ui automation android
E/SQLiteLog: (1) no such function: JSON_OBJECT
heroku H21 Backend connection refused
xamarin mutli selection listview
Uri to Bitmap Issue
Animated ECG using Animated Vector in Android

Categories

HOME
kentico
twitter-bootstrap-3
design-patterns
delphi-7
x264
extjs4.2
p2p
spin
drop-down-menu
enthought
text-mining
tput
onedrive-api
bitnami
do-while
capistrano3
package.json
microsoft-dynamics-nav
cfml
sar
symbols
ios10.2
tosca
google-api-client
moses
appirater
datastax-enterprise-graph
tizen-tv
sql-server-2000
rselenium
card.io
gojs
jwplayer6
playframework-2.1
filesystemwatcher
typesafe-config
mongoose-schema
opensmpp
subclipse
contract
signal-strength
photos
mesosphere
httrack
ovf
openal
openrasta
wcftestclient
facebook-pixel
arq
context-switch
static-cast
er-diagram
css-transforms
gameplay-kit
rxtx
restore
reachability
stax
lrs
delta
simevents
jtwig
cfchart
spreadjs
createprocess
findfirst
aspen
highland.js
toran-proxy
dynatree
flock
haskell-warp
branch-and-bound
keyup
bufferedinputstream
osc
nodelist
packet-sniffers
spy++
formview
linkedin-jsapi
encryption-asymmetric
dct
paste
windows-phone-8-sdk
onload-event
chart-director
patricia-trie
pstack
relative
django-paypal
svk
updatesourcetrigger
non-clustered-index
aspmenu
application-verifier
data-mapping
alsb
sqlobject
lemmatization
change-management
online-storage

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App