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

iOS: Fixed attaching images

This commit is contained in:
Laurent Cozic
2017-11-19 22:08:58 +00:00
parent cbd2075156
commit e80dd59da2
17 changed files with 902 additions and 608 deletions

View File

@ -204,6 +204,7 @@ async function initialize(dispatch, backButtonHandler) {
Setting.setConstant('env', __DEV__ ? 'dev' : 'prod');
Setting.setConstant('appId', 'net.cozic.joplin');
Setting.setConstant('appType', 'mobile');
//Setting.setConstant('resourceDir', () => { return RNFetchBlob.fs.dirs.DocumentDir; });
Setting.setConstant('resourceDir', RNFetchBlob.fs.dirs.DocumentDir);
const logDatabase = new Database(new DatabaseDriverReactNative());