diff --git a/ReactNativeClient/root.js b/ReactNativeClient/root.js index abd21e67fa..d1dc16f4aa 100644 --- a/ReactNativeClient/root.js +++ b/ReactNativeClient/root.js @@ -307,9 +307,19 @@ const appReducer = (state = appDefaultState, action) => { let store = createStore(appReducer, applyMiddleware(generalMiddleware)); storeDispatch = store.dispatch; +// function blobTest() { +// const contentType = 'text/plain'; +// var blob = new Blob(['aaaaaaaaaaa'], { type: contentType }); + +// const fileTest = new File([blob], '/storage/emulated/0/Download/test.txt', { type: contentType, lastModified: Date.now() }); +// console.info('FFFFFFFFFFFFFFFFFFFFF', fileTest); +// } + async function initialize(dispatch) { shimInit(); + // blobTest(); + Setting.setConstant('env', __DEV__ ? 'dev' : 'prod'); Setting.setConstant('appId', 'net.cozic.joplin-mobile'); Setting.setConstant('appType', 'mobile');