Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build 8 #5

Merged
merged 1 commit into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Demo/components/CampaignView.brs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ sub onItemSelected(event as dynamic)
print "CampaignView : onItemSelected : Launching Campaign Label : " label

m.namiPaywallManager.callFunc("registerCloseHandler", m.top, "campaignCloseHandler")
m.namiCampaignManager.callFunc("launchWithHandler", label, paywallLaunchContext, m.top, "campaignLaunchHandler", m.top.namiDataSource, "paywallActionHandler")
m.namiCampaignManager.callFunc("launchWithHandler", label, invalid, m.top, "campaignLaunchHandler", m.top.namiDataSource, "paywallActionHandler")
end sub

function campaignLaunchHandler(isSuccess as boolean, error as dynamic)
Expand Down
6 changes: 0 additions & 6 deletions Demo/components/NamiSDKIntegrationHelper.brs
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,12 @@ sub getNamiConfig() as object
appPlatformId = m.global.appConfig.appPlatformIdStaging
end if

namiCommands = []
if m.global.appConfig.environment = "staging"
namiCommands = ["useStagingAPI"]
end if

initialConfig = ReadAsciiFile(m.global.appConfig.namiInitialConfigFilePath)
namiConfig = {
appPlatformId : appPlatformId
fonts : m.global.appConfig.fonts
environment : m.global.appConfig.environment
logLevel : ["info", "warn", "error", "debug"] '
namiCommands : namiCommands
initialConfig : initialConfig
}
return namiConfig
Expand Down
4 changes: 2 additions & 2 deletions Demo/source/data/appData.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"isUseDummyProducts": false,
"namiDummyProductsFilePath": "pkg:/source/data/dummyProducts.json",
"namiInitialConfigFilePath": "pkg:/source/data/initialConfig.json",
"namiSDKPath": "pkg:/source/lib/nami_sdk.pkg"
}
"namiSDKPath": "https://packages.namiml.com/NamiSDK/Roku/NamiRoku.pkg"
}
Loading