ibm-bluemix-mobile-services/bms-clientsdk-swift-push

initializeWithAppGUID parameters are optional, but error when not present

Closed this issue · 2 comments

This confused me for awhile, because I used to be able to call initializeWithAppGUID with just the appGUID. So the other day I was calling it with the a nil clientSecret and it continually caused my application to crash due to a force unwrap here. I suggest we make these parameters non-optional to avoid this issue.

Additionally, the README still contains examples of push.initializeWithAppGUID(appGUID: "your push App GUID") when I believe that is a deprecated method, correct?

Any updates on this or has it been looked at yet?

Solved it... Will release the SDK soon..