1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Many improvements and bug fixes

This commit is contained in:
Laurent Cozic
2017-10-18 23:13:53 +01:00
parent 4db08d1a26
commit 1845a0105c
11 changed files with 69 additions and 16 deletions

View File

@ -1,10 +1,14 @@
import { shim } from 'lib/shim.js';
import { GeolocationReact } from 'lib/geolocation-react.js';
import { PoorManIntervals } from 'lib/poor-man-intervals.js';
import RNFetchBlob from 'react-native-fetch-blob';
function shimInit() {
shim.Geolocation = GeolocationReact;
shim.setInterval = PoorManIntervals.setInterval;
shim.clearInterval = PoorManIntervals.clearInterval;
shim.fetchBlob = async function(url, options) {
if (!options || !options.path) throw new Error('fetchBlob: target file path is missing');