app bridge not working

Raimond13
New Member
1 0 0

Hi i tried redirecting to my embbed app UI but i keep getting an error.

code snippet below:

var AppBridge = window['app-bridge'];
var Actions = window['app-bridge'].actions;
var createApp = AppBridge.default;
var app = createApp({
forceRedirect: true,
apiKey: '{{ my key }}',
shopOrigin: '{{shop name }}'

});

screen shot of error below:


redirect-error.PNG

0 Likes