You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello :)
I am having some issue regarding usage on Nativescript vue.
Inside my component, on image selection I use : ImageSource.fromAsset(selection[0]).then( res => { this.imageSrc = data:image/jpeg;base64,${res.toBase64String("jpeg")}; this.$emit('update', this.imageSrc); } );
But it seems to get me some log in the console "fromAsset() is deprecated. Use ImageSource.fromAsset()"
Is there something wrong with my code ?
It seems to work just fine.
The text was updated successfully, but these errors were encountered:
Hello :)
I am having some issue regarding usage on Nativescript vue.
Inside my component, on image selection I use :
ImageSource.fromAsset(selection[0]).then( res => { this.imageSrc =
data:image/jpeg;base64,${res.toBase64String("jpeg")}; this.$emit('update', this.imageSrc); } );
But it seems to get me some log in the console "fromAsset() is deprecated. Use ImageSource.fromAsset()"
Is there something wrong with my code ?
It seems to work just fine.
The text was updated successfully, but these errors were encountered: