Method | Method detail |
---|---|
Integration steps on the console to add reward functionality | Easy and step-wise integration process on console which can help user to setup reward into an existing mobile application. |
Integration step to add Baked Reward SDK | Easy and step-wise integration process which can help user to integrate baked reward module into an existing mobile application. |
Reward Callback Method | Baked Reward callback which can be used further inside the user existing app. For example if user click creator button from the reward module then user will have a call back so the user can take appropriate action against the user action. |
The SDK has an option to use the predefined reward module as a separate component that can be integrated into existing applications and can be launched within any UIViewController via any user-defined CTA.
Integration steps on console to add Reward functionality into your app:
pod 'GluedInCoreSDK'
pod 'GluedInRewardSDK'
self.navigationController?.pushViewController(
GluedInReward.shared.getRewardViewController(
delegate: self) ?? UITabBarController(),
animated: true)
// Baked reward method to launch reward module
// Option to launch baked reward by clicking on reward button
// Controller can be open from any button or bottom bar or load screen or any user interction option
@IBAction func callToLaunchBakedReward(_ sender: Any) {
GluedInCore.shared.initSdk {
let VW: UIViewController = GluedInReward.shared.getRewardViewController(delegate: self) ?? UITabBarController()
self.navigationController?.pushViewController(VW, animated: true)
} failure: { error, code in
print(error)
print(code)
}
}
func showLoginRegisterPopup(navigationController: UINavigationController?) {
print("showLoginRegisterPopup")
}
func showFeedView(navigationController: UINavigationController?) {
print("showFeedView")
}
func showDiscoverView(navigationController: UINavigationController?) {
print("showDiscoverView")
}
func showCreatorView(navigationController: UINavigationController?) {
print("showCreatorView")
}