React Native Web Integration¶
Prerequisites¶
This setup assumes you have already setup your App Key on the Dashboard and you want to use same codebase for both mobile/web.
Integration Steps¶
Additional steps.¶
Expo¶
Generate index.html file
1 |
|
Setup Content-Security-Policy(CSP) (Optional)¶
If your website ( web app ) uses CSP to restrict resource loading then you should add the below settings to the white list to allow your website to use resources ( JS, CSS, images, etc... ) from Contextual.
1 2 3 4 5 6 7 8 9 10 11 |
|
Note
If you want to use external resources e.g. loading a image from facebook then you should add "*.facebook.com" to the white list.
Last update:
2024-01-14