Is Lightning Out 2.0 supported with Mobile SDK?
I get CSP error:
[Error] Refused to load
https://<MY-DOMAIN>.my.salesforce.com/lwr/application/amd/0/ai/lightningout%<BUNCH-OF-PARAMETERS>because it does not appear in the frame-ancestors directive of the Content Security Policy.
[Error] Failed to load resource: the server responded with a status of 404 () (source, line 0)
I believe this error is because there is no domain to add to Salesforce Setup -> Session Settings.
I opened a case with Salesforce Support and they directed me here to this forum.
The original Lightning Out works with Mobile SDK, so I am hoping Salesforce isn't removing functionality.
Thanks for raising this. Lightning Out 2.0 is not currently supported with the Mobile SDK.
The LWC template that supported Lightning Out 1.0 was removed in Mobile SDK 13.0, and we haven't added Lightning Out 2.0 support.