Skip to content

Commit

Permalink
v2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
putuadityabayu committed Aug 17, 2021
1 parent 16decdb commit fdb4bd8
Show file tree
Hide file tree
Showing 17 changed files with 1,591 additions and 1,397 deletions.
7 changes: 4 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ android {
applicationId "com.portalnesia.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 18
versionName "2.9.0"
versionCode 19
versionName "2.10.0"
}
splits {
abi {
Expand Down Expand Up @@ -212,6 +212,7 @@ android {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
//noinspection GradleDynamicVersion
implementation "androidx.core:core:1.6.0"
implementation "com.facebook.react:react-native:+" // From node_modules
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
Expand All @@ -232,7 +233,7 @@ dependencies {
annotationProcessor("com.android.support:support-annotations:28.0.0-alpha3")
implementation "com.github.bumptech.glide:okhttp3-integration:4.11.0"
implementation "com.github.stfalcon-studio:StfalconImageViewer:master-SNAPSHOT"
addUnimodulesDependencies([exclude:['expo-keep-awake','expo-linear-gradient','expo-sqlite','expo-sharing','expo-background-fetch','expo-image-manipulator','expo-task-manager','unimodules-barcode-scanner-interface','unimodules-camera-interface','unimodules-face-detector-interface','unimodules-sensors-interface','unimodules-task-manager-interface','expo-local-authentication']])
addUnimodulesDependencies([exclude:['expo-keep-awake','expo-linear-gradient','expo-sqlite','expo-sharing','expo-image-manipulator','unimodules-barcode-scanner-interface','unimodules-camera-interface','unimodules-face-detector-interface','unimodules-sensors-interface','expo-local-authentication']])

if (enableHermes) {
def hermesPath = "../../node_modules/hermes-engine/android/";
Expand Down
9 changes: 6 additions & 3 deletions android/app/src/debug/res/xml/auth_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@
<PreferenceScreen android:key="account_settings" android:title="@string/account_settings" android:summary="" android:visibility="visible" tools:visibility="visible">
<intent android:action="android.intent.action.VIEW"
android:data="pn://setting/account"
android:targetPackage="com.portalnesia.app.debug"/>
android:targetPackage="com.portalnesia.app.debug"
android:targetClass="com.portalnesia.app.MainActivity"/>
</PreferenceScreen>
<PreferenceScreen android:key="security_settings" android:title="@string/security_settings" android:summary="" android:visibility="visible" tools:visibility="visible">
<intent android:action="android.intent.action.VIEW"
android:data="pn://setting/security"
android:targetPackage="com.portalnesia.app.debug"/>
android:targetPackage="com.portalnesia.app.debug"
android:targetClass="com.portalnesia.app.MainActivity"/>
</PreferenceScreen>
<PreferenceScreen android:key="notification_settings" android:title="@string/notification_settings" android:summary="" android:visibility="visible" tools:visibility="visible">
<intent android:action="android.intent.action.VIEW"
android:data="pn://setting/notification"
android:targetPackage="com.portalnesia.app.debug"/>
android:targetPackage="com.portalnesia.app.debug"
android:targetClass="com.portalnesia.app.MainActivity"/>
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>
2,666 changes: 1,340 additions & 1,326 deletions android/app/src/main/assets/index.android.bundle

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public List<Package> getPackageList() {
new expo.modules.ads.admob.AdMobPackage(),
new expo.modules.application.ApplicationPackage(),
new expo.modules.av.AVPackage(),
new expo.modules.backgroundfetch.BackgroundFetchPackage(),
new expo.modules.cellular.CellularPackage(),
new expo.modules.clipboard.ClipboardPackage(),
new expo.modules.constants.ConstantsPackage(),
Expand All @@ -29,6 +30,7 @@ public List<Package> getPackageList() {
new expo.modules.permissions.PermissionsPackage(),
new expo.modules.securestore.SecureStorePackage(),
new expo.modules.splashscreen.SplashScreenPackage(),
new expo.modules.taskManager.TaskManagerPackage(),
new expo.modules.updates.UpdatesPackage(),
new expo.modules.webbrowser.WebBrowserPackage()
);
Expand Down
28 changes: 23 additions & 5 deletions android/app/src/main/res/raw/licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,12 @@
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-background-fetch@9.2.2": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-cellular@3.2.0": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
Expand Down Expand Up @@ -335,6 +341,12 @@
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-task-manager@9.2.2": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-updates@0.8.0": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
Expand Down Expand Up @@ -454,10 +466,10 @@
"licenseUrl": "https://github.com/iou90/react-native-autoheight-webview/raw/master/LICENSE",
"parents": "portal-native"
},
"react-native-background-actions@2.6.2": {
"licenses": "MIT",
"repository": "https://github.com/Rapsssito/react-native-background-actions",
"licenseUrl": "https://github.com/Rapsssito/react-native-background-actions/raw/master/LICENSE",
"react-native-background-downloader@2.3.4": {
"licenses": "Apache-2.0",
"repository": "https://github.com/EkoLabs/react-native-background-downloader",
"licenseUrl": "https://github.com/EkoLabs/react-native-background-downloader/raw/master/LICENSE",
"parents": "portal-native"
},
"react-native-biometrics@2.1.4": {
Expand All @@ -470,6 +482,12 @@
"licenses": "UNKNOWN",
"parents": "portal-native"
},
"react-native-draggable-flatlist@2.6.2": {
"licenses": "MIT",
"repository": "https://github.com/computerjazz/react-native-draggable-flatlist",
"licenseUrl": "https://github.com/computerjazz/react-native-draggable-flatlist/raw/master/LICENSE.txt",
"parents": "portal-native"
},
"react-native-dropdownalert@4.3.0": {
"licenses": "MIT",
"repository": "https://github.com/testshallpass/react-native-dropdownalert",
Expand Down Expand Up @@ -578,7 +596,7 @@
"licenseUrl": "https://github.com/satya164/react-native-tab-view/raw/master/LICENSE.md",
"parents": "portal-native"
},
"react-native-track-player@1.2.7": {
"react-native-track-player@2.0.1": {
"licenses": "Apache-2.0",
"repository": "https://github.com/react-native-kit/react-native-track-player",
"licenseUrl": "https://github.com/react-native-kit/react-native-track-player/raw/master/LICENSE",
Expand Down
19 changes: 19 additions & 0 deletions android/app/src/main/res/raw/locale_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,25 @@
"follower":"follower",
"following":"following",
"unfollow":"unfollow",
"random_number":{
"animation":"Animation",
"animation_help":"Enable animation when randomize numbers",
"min":"Minimum Number",
"max":"Maximum Number",
"specify":{
"max":"Please specify a maximum number",
"min":"Please specify a minimum number"
},
"less":{
"max":"The maximum number must be less than %{number}",
"min":"The minimum number must be less than %{number}"
},
"than":{
"max":"The maximum number must be greater than the minimum number",
"min":"The minimum number must be less than the maximum number"
},
"same":"The minimum number and the maximum number can not be the same number"
},
"settings":{
"account":{
"private":"Set profile to private",
Expand Down
19 changes: 19 additions & 0 deletions android/app/src/main/res/raw/locale_id.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,25 @@
"follower":"pengikut",
"following":"mengikuti",
"unfollow":"batal mengikuti",
"random_number":{
"animation":"Animasi",
"animation_help":"Aktifkan animasi saat mengacak angka",
"min":"Angka Minimum",
"max":"Angka Maksimum",
"specify":{
"max":"Harap tentukan angka maksimum",
"min":"Harap tentukan angka minimum"
},
"less":{
"max":"Angka maksimum harus lebih kecil dari %{number}",
"min":"Angka minimum harus lebih kecil dari %{number}"
},
"than":{
"max":"Angka maksimum harus lebih besar dari angka minimum",
"min":"Angka minimum harus lebih kecil dari angka maksimum"
},
"same":"Angka minimum dan maksimum tidak boleh sama"
},
"settings":{
"account":{
"private":"Setel profil ke pribadi",
Expand Down
6 changes: 4 additions & 2 deletions android/app/src/main/res/raw/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
"color-indicator-bar":"$color-primary-500",
"skeleton-background-color":"#E1E9EE",
"skeleton-hightlight-color":"#F2F8FC",
"riple-color":"rgba(0, 0, 0, .12)"
"riple-color":"rgba(0, 0, 0, .12)",
"selected-color":"rgba(255, 255, 255, .12)"
},
"dark":{
"color-primary-100": "#DBF7DD",
Expand Down Expand Up @@ -169,6 +170,7 @@
"color-indicator-bar":"#69ffb2",
"skeleton-background-color":"$background-basic-color-4",
"skeleton-hightlight-color":"$background-basic-color-3",
"riple-color":"rgba(255, 255, 255, .12)"
"riple-color":"rgba(255, 255, 255, .12)",
"selected-color":"rgba(0, 0, 0, .12)"
}
}
9 changes: 6 additions & 3 deletions android/app/src/main/res/xml/auth_menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
<intent
android:action="android.intent.action.VIEW"
android:data="pn://setting/account"
android:targetPackage="com.portalnesia.app" />
android:targetPackage="com.portalnesia.app"
android:targetClass="com.portalnesia.app.MainActivity"/>
</PreferenceScreen>
<PreferenceScreen
android:key="security_settings"
Expand All @@ -25,7 +26,8 @@
<intent
android:action="android.intent.action.VIEW"
android:data="pn://setting/security"
android:targetPackage="com.portalnesia.app" />
android:targetPackage="com.portalnesia.app"
android:targetClass="com.portalnesia.app.MainActivity" />
</PreferenceScreen>
<PreferenceScreen
android:key="notification_settings"
Expand All @@ -36,7 +38,8 @@
<intent
android:action="android.intent.action.VIEW"
android:data="pn://setting/notification"
android:targetPackage="com.portalnesia.app" />
android:targetPackage="com.portalnesia.app"
android:targetClass="com.portalnesia.app.MainActivity" />
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Portalnesia",
"slug": "portalnesia",
"scheme": "pn",
"version": "2.9.2",
"version": "2.10.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"backgroundColor": "#ffffff",
Expand All @@ -16,7 +16,7 @@
"silentLaunch": true
},
"extra": {
"minimumVersion": "2.9.0"
"minimumVersion": "2.10.0"
},
"splash": {
"image": "./assets/splash.png",
Expand Down
28 changes: 23 additions & 5 deletions licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,12 @@
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-background-fetch@9.2.2": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-cellular@3.2.0": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
Expand Down Expand Up @@ -335,6 +341,12 @@
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-task-manager@9.2.2": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
"licenseUrl": "https://github.com/expo/expo",
"parents": "portal-native"
},
"expo-updates@0.8.0": {
"licenses": "MIT",
"repository": "https://github.com/expo/expo",
Expand Down Expand Up @@ -454,10 +466,10 @@
"licenseUrl": "https://github.com/iou90/react-native-autoheight-webview/raw/master/LICENSE",
"parents": "portal-native"
},
"react-native-background-actions@2.6.2": {
"licenses": "MIT",
"repository": "https://github.com/Rapsssito/react-native-background-actions",
"licenseUrl": "https://github.com/Rapsssito/react-native-background-actions/raw/master/LICENSE",
"react-native-background-downloader@2.3.4": {
"licenses": "Apache-2.0",
"repository": "https://github.com/EkoLabs/react-native-background-downloader",
"licenseUrl": "https://github.com/EkoLabs/react-native-background-downloader/raw/master/LICENSE",
"parents": "portal-native"
},
"react-native-biometrics@2.1.4": {
Expand All @@ -470,6 +482,12 @@
"licenses": "UNKNOWN",
"parents": "portal-native"
},
"react-native-draggable-flatlist@2.6.2": {
"licenses": "MIT",
"repository": "https://github.com/computerjazz/react-native-draggable-flatlist",
"licenseUrl": "https://github.com/computerjazz/react-native-draggable-flatlist/raw/master/LICENSE.txt",
"parents": "portal-native"
},
"react-native-dropdownalert@4.3.0": {
"licenses": "MIT",
"repository": "https://github.com/testshallpass/react-native-dropdownalert",
Expand Down Expand Up @@ -578,7 +596,7 @@
"licenseUrl": "https://github.com/satya164/react-native-tab-view/raw/master/LICENSE.md",
"parents": "portal-native"
},
"react-native-track-player@1.2.7": {
"react-native-track-player@2.0.1": {
"licenses": "Apache-2.0",
"repository": "https://github.com/react-native-kit/react-native-track-player",
"licenseUrl": "https://github.com/react-native-kit/react-native-track-player/raw/master/LICENSE",
Expand Down
19 changes: 19 additions & 0 deletions locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,25 @@
"follower":"follower",
"following":"following",
"unfollow":"unfollow",
"random_number":{
"animation":"Animation",
"animation_help":"Enable animation when randomize numbers",
"min":"Minimum Number",
"max":"Maximum Number",
"specify":{
"max":"Please specify a maximum number",
"min":"Please specify a minimum number"
},
"less":{
"max":"The maximum number must be less than %{number}",
"min":"The minimum number must be less than %{number}"
},
"than":{
"max":"The maximum number must be greater than the minimum number",
"min":"The minimum number must be less than the maximum number"
},
"same":"The minimum number and the maximum number can not be the same number"
},
"settings":{
"account":{
"private":"Set profile to private",
Expand Down
19 changes: 19 additions & 0 deletions locale/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,25 @@
"follower":"pengikut",
"following":"mengikuti",
"unfollow":"batal mengikuti",
"random_number":{
"animation":"Animasi",
"animation_help":"Aktifkan animasi saat mengacak angka",
"min":"Angka Minimum",
"max":"Angka Maksimum",
"specify":{
"max":"Harap tentukan angka maksimum",
"min":"Harap tentukan angka minimum"
},
"less":{
"max":"Angka maksimum harus lebih kecil dari %{number}",
"min":"Angka minimum harus lebih kecil dari %{number}"
},
"than":{
"max":"Angka maksimum harus lebih besar dari angka minimum",
"min":"Angka minimum harus lebih kecil dari angka maksimum"
},
"same":"Angka minimum dan maksimum tidak boleh sama"
},
"settings":{
"account":{
"private":"Setel profil ke pribadi",
Expand Down
Loading

0 comments on commit fdb4bd8

Please sign in to comment.