Open liuchuancong opened 6 years ago
import { fromUrl, ImageSource } from "image-source"; import * as SocialShare from "nativescript-social-share";
const imageFile = fromUrl(image).then((res) => { SocialShare.shareImage(res); }); it will work!
import { fromUrl, ImageSource } from "image-source"; import * as SocialShare from "nativescript-social-share";
const imageFile = fromUrl(image).then((res) => { SocialShare.shareImage(res); }); it will work!