UserProfile
library to your project using the app's gradle file.UserProfile
library and any other SDK library in your application's main activity.Podfile
:Podfile
:setApplication()
method must be called once in the onCreate()
method of your main activity.UserProfile
extension must be registered with Mobile Core before calling an UserProfile
API.setApplication()
in the onCreate()
method. Here is a code sample, which calls these set up methods:start()
function:FinishedLaunching()
function:OnCreate()
function: