mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
0765cf5955
- Joplin Server: Adds support for sharing a notebook - Desktop: Adds support for sharing a notebook with Joplin Server - Mobile: Adds support for reading and writing to a shared notebook (not possible to share a notebook) - Cli: Adds support for reading and writing to a shared notebook (not possible to share a notebook)
10 lines
280 B
TypeScript
10 lines
280 B
TypeScript
const { Platform, NativeModules } = require('react-native');
|
|
|
|
export default async function setIgnoreTlsErrors(ignore: boolean): Promise<boolean> {
|
|
if (Platform.OS === 'android') {
|
|
return await NativeModules.SslModule.setIgnoreTlsErrors(ignore);
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|