Nativescript LaunchKitSDK Wrapper
Setup LaunchKit Account#
Setup
Add this in your app.js
if applicationiosvar __extends = this__extends || {for var p in b if b dp = bp;{ thisconstructor = d; }__prototype = bprototype;dprototype = ;};var appDelegate = {;{_super;}appDelegateprototype {launchkit;};appDelegateObjCProtocols = UIApplicationDelegate;return appDelegate;}UIResponder;applicationiosdelegate = appDelegate;
API
var launchkit = ;
launchkit;
isSuperUser: Returns bool
launchkit;
launchkit;
showOnboarding: Returns Promise (args: args)
launchkit;
Onboarding needs to be called from a view, will fail in app.js due to there being no UIWindow yet
showReleaseNotes: Returns Promise (args: didPresent)
launchkit;
showAppReviewCard: Returns Promise (args: didPresent, flowResult)
launchkit;