From c1f5dfd9cc457423dfa2c57a052a49ae11373171 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 30 Apr 2018 21:21:17 +0100 Subject: [PATCH] Keep Blob tests to revisit in a few weeks --- ReactNativeClient/root.js | 10 ++++++++++ 1 file changed, 10 insertions(+) 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');