Quote from
noyzen on June 2, 2023, 3:38 pm
Hi guys,
I'm using FabricJS to make a very simple app.
I Use Website2APK builder to make APK and it solve problem with CORS origins.
(Has an option to allow it)
But when I want save final file to jpg or png I get an error in Android and it says only can save http or https content and FabricJS gives blob format. (SaveFile command in Fabric)
I know that there is a command fabSaveAsBase64 and then Base64ToLocalFile I never tested that, because I don't know what format will be generated file... jpg? png? svg?
and if it is JPG can I change quality like fabSaveAsJPG?
EDIT: I have tested that method above and I get same error (blob format)
Is there any way to fix that?
So I can make Android apps with Fabric
Thanks :)
Hi guys,
I'm using FabricJS to make a very simple app.
I Use Website2APK builder to make APK and it solve problem with CORS origins.
(Has an option to allow it)
But when I want save final file to jpg or png I get an error in Android and it says only can save http or https content and FabricJS gives blob format. (SaveFile command in Fabric)
I know that there is a command fabSaveAsBase64 and then Base64ToLocalFile I never tested that, because I don't know what format will be generated file... jpg? png? svg?
and if it is JPG can I change quality like fabSaveAsJPG?
EDIT: I have tested that method above and I get same error (blob format)
Is there any way to fix that?
So I can make Android apps with Fabric
Thanks :)