Flurry setCrashReportingEnabled(true) depreciated in Swift -


in ios/xcode/swift, since upgraded latest version of flurry ios sdk "flurry.setcrashreportingenabled depreciated".

this code:

... //start flurry flurry.setcrashreportingenabled(true) flurry.startsession(environment.flurryapikey) ... 

looking @ flurry ios sdk github project found "deprecated since 7.7.0, please use flurrysessionbuilder in place of calling api."

however cannot find info regarding flurrysessionbuilder usage in swift. how convert above code using flurrysessionbuilder rid of depreciated warning?

after contact support flurry support found answer here:

https://developer.yahoo.com/flurry/docs/integrateflurry/ios/#initialize-flurry

let builder = flurrysessionbuilder.init()                                   .withappversion("1.0")                                   .withloglevel(flurryloglevelall)                                   .withcrashreporting(true)                                   .withsessioncontinueseconds(10)  // replace your_api_key api key in downloaded package flurry.startsession("your_api_key", with: builder) 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -