1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Android release v1.0.303

This commit is contained in:
Laurent Cozic
2019-09-06 17:51:38 +01:00
parent 6a7d40d171
commit 11f23f4e00
3 changed files with 10 additions and 9 deletions

View File

@ -28,7 +28,7 @@ Linux | <a href='https://github.com/laurent22/joplin/releases/download/
Operating System | Download | Alt. Download Operating System | Download | Alt. Download
-----------------|----------|---------------- -----------------|----------|----------------
Android | <a href='https://play.google.com/store/apps/details?id=net.cozic.joplin&utm_source=GitHub&utm_campaign=README&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' height="40px" src='https://joplinapp.org/images/BadgeAndroid.png'/></a> | or [Download APK File](https://github.com/laurent22/joplin-android/releases/download/android-v1.0.299/joplin-v1.0.299.apk) Android | <a href='https://play.google.com/store/apps/details?id=net.cozic.joplin&utm_source=GitHub&utm_campaign=README&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' height="40px" src='https://joplinapp.org/images/BadgeAndroid.png'/></a> | or [Download APK File](https://github.com/laurent22/joplin-android/releases/download/android-v1.0.303/joplin-v1.0.303.apk)
iOS | <a href='https://itunes.apple.com/us/app/joplin/id1315599797'><img alt='Get it on the App Store' height="40px" src='https://joplinapp.org/images/BadgeIOS.png'/></a> | - iOS | <a href='https://itunes.apple.com/us/app/joplin/id1315599797'><img alt='Get it on the App Store' height="40px" src='https://joplinapp.org/images/BadgeIOS.png'/></a> | -
## Terminal application ## Terminal application

View File

@ -94,8 +94,8 @@ android {
applicationId "net.cozic.joplin" applicationId "net.cozic.joplin"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 2097535 versionCode 2097539
versionName "1.0.299" versionName "1.0.303"
ndk { ndk {
abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64" abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
} }

View File

@ -28,6 +28,7 @@ import cx.evermeet.versioninfo.RNVersionInfoPackage;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
import android.database.CursorWindow;
public class MainApplication extends Application implements ReactApplication { public class MainApplication extends Application implements ReactApplication {
@ -73,13 +74,13 @@ public class MainApplication extends Application implements ReactApplication {
// https://github.com/andpor/react-native-sqlite-storage/issues/364#issuecomment-526423153 // https://github.com/andpor/react-native-sqlite-storage/issues/364#issuecomment-526423153
// https://github.com/laurent22/joplin/issues/1767#issuecomment-515617991 // https://github.com/laurent22/joplin/issues/1767#issuecomment-515617991
try { try {
Field field = CursorWindow.class.getDeclaredField("sCursorWindowSize"); // Field field = CursorWindow.class.getDeclaredField("sCursorWindowSize");
field.setAccessible(true); CursorWindow.class.getDeclaredField("sCursorWindowSize").setAccessible(true);
field.set(null, 50 * 1024 * 1024); // 50 MB CursorWindow.class.getDeclaredField("sCursorWindowSize").set(null, 50 * 1024 * 1024); // 50 MB
} catch (Exception e) { } catch (Exception e) {
if (DEBUG_MODE) { // if (DEBUG_MODE) {
e.printStackTrace(); // e.printStackTrace();
} // }
} }
SoLoader.init(this, /* native exopackage */ false); SoLoader.init(this, /* native exopackage */ false);