Create a custom layout for share image and url


#1

Hello

I want to create a custom layout with image and url, i want this attached layout! for share

I have used this code for share post but it is a simple layout,I want done without detach the expo app
/****************/
import { CacheManager } from ‘react-native-expo-image-cache’;

const uri = ‘https://t-ec.bstatic.com/images/hotel/max1024x768/101/101430248.jpg’;
const path = await CacheManager.get(uri).getPath();
alert(path)
Share.share({
message: “Hotel ville”,
title: “Hotel ville”,
url: path
});
/****************/


#2

Hey @samsach,

Unfortunately this won’t be possible without ejecting. Sorry to the bearer of bad news! :disappointed:

All the best,

Adam


#3

any idea of hide url in back of the image


#4

no idea


#5

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.