Hi,
I would like to use the expo-sharing to send the pdf to printer. But the share options only has AirDrop, share to other Apps, and Save to File.
Is there a way to enable share to Printer?
Hi @auto2019, im running into the same issue with SDK 36 too, i want to take snapshot, then share and im getting “AirDrop” option only on iOS on Android works as expected, here my code:
import { captureRef } from 'react-native-view-shot';
import * as Sharing from 'expo-sharing';
captureRef(this._shareViewContainer, {
// defaults
}).then(
uri => {
console.log('Image saved to', uri);
Sharing.shareAsync(uri);
},
error => console.error('Oops, snapshot failed', error)
);