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:Step 1: Go to the console left menu option and click Rewards → Point definitions | |
---|---|
Step 2: Click on reward settings icon which is on top left corner of centre panel. | |
Step 3: Enable Reward section Also, enable “Show record icon on discover section “if you need reward in your discover section or in your discover core SDKs methods> | |
Step 4: Provide earned point and event count into point definition section as shown in the screen shot. | |
Step 5: Upload Coupon to redeem inside the app Click on coupon menu option in the left menu Click on Add Coupon CTA on the top right corner of the screen Click on upload coupon option from the dropdown Upload coupon image and add meta info as instructed in console. |
|
Steps 6: Create coupon Click on Add Coupon CTA on the top right of centre screen Click on create coupon option from the dropdown Add Coupon image either by selecting or by drag and drop in desired image section Add coupon title and other coupon meta info required by the console to create the coupon. |
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")
}