function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Canvass app works in canvass previewer but not in lightning component/application

<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" access="global" >
    <force:canvasApp developerName="testApp" namespacePrefix="" parameters='{"xxx":"123","yyy":"4444"}'  width="infinite" /> 

<aura:application >

So when i use the canvass app previewer it works, when i try in dev console previewer it doesnt work and as a quick action it also fails.
Raj VakatiRaj Vakati
You can not able to load the canvas using the standalone aura:application 

force:canvasApp  support only  Lightning Experience, Lightning Communities, Salesforce Mobile App

Try to add this component to the record page and test it