You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is an example of how I load the context in version 0.7.5
val portalContext = mapOf(
"startingRoute" to Utils.context.getString(R.string.portal_start_route),
"apiURL" to Utils.context.getString(R.string.api_url),
"siteURL" to Utils.context.getString(R.string.site_url),
"siteId" to Utils.context.getString(R.string.site_id),
"accountId" to Utils.context.getString(R.string.account_id),
"token" to LocalCache.getToken(),
"expires" to LocalCache.getExpires(),
"analyticsURL" to Utils.context.getString(R.string.analytics_url)
)
PortalManager.newPortal(mainPortalId)
.setInitialContext(portalContext)
.setStartDir("terra/build")
.setPlugins(Plugins.plugins.toMutableList())
.create()`
The text was updated successfully, but these errors were encountered:
Did you consult the Changelog/Upgrade guide to make sure your web application is using the most up-to-date code? There were some breaking changes since 0.7.x
If everything seems correct and your are unable to access the context can you see if you are able to see it in the Chrome dev tools in the web view?
If you are still experiencing the issue after these steps and are able to reproduce it can you please provide a complete app project with the minimal amount of code needed to help reproduce your issue so we can help troubleshoot further. Thank you!
Here is an example of how I load the context in version 0.7.5
The text was updated successfully, but these errors were encountered: