diff --git a/android/app/build.gradle b/android/app/build.gradle index 32e09c1..f672a69 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -82,6 +82,14 @@ def enableMinifyInReleaseBuilds = (findProperty('android.enableMinifyInReleaseBu def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+' android { +// @generated begin @rnmapbox/maps-libcpp - expo prebuild (DO NOT MODIFY) sync-e24830a5a3e854b398227dfe9630aabfaa1cadd1 +packagingOptions { + pickFirst 'lib/x86/libc++_shared.so' + pickFirst 'lib/x86_64/libc++_shared.so' + pickFirst 'lib/arm64-v8a/libc++_shared.so' + pickFirst 'lib/armeabi-v7a/libc++_shared.so' + } +// @generated end @rnmapbox/maps-libcpp ndkVersion rootProject.ext.ndkVersion buildToolsVersion rootProject.ext.buildToolsVersion diff --git a/android/build.gradle b/android/build.gradle index e39704a..3461bfd 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -23,3 +23,25 @@ allprojects { apply plugin: "expo-root-project" apply plugin: "com.facebook.react.rootproject" +// @generated begin @rnmapbox/maps-v2-maven - expo prebuild (DO NOT MODIFY) sync-d4ccbfdff48fdba3138b02a8ba41b9722af001d8 + +allprojects { + repositories { + maven { + url 'https://api.mapbox.com/downloads/v2/releases/maven' + // Authentication is no longer required as per Mapbox's removal of download token requirement + // See: https://github.com/mapbox/mapbox-maps-flutter/issues/775 + // Keeping this as optional for backward compatibility + def token = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: System.getenv('RNMAPBOX_MAPS_DOWNLOAD_TOKEN') + if (token) { + authentication { basic(BasicAuthentication) } + credentials { + username = 'mapbox' + password = token + } + } + } + } +} + +// @generated end @rnmapbox/maps-v2-maven \ No newline at end of file diff --git a/app.config.js b/app.config.js index 799b203..7d324e2 100644 --- a/app.config.js +++ b/app.config.js @@ -19,7 +19,7 @@ export default { "NSLocationWhenInUseUsageDescription": "Aplikasi membutuhkan akses lokasi untuk menampilkan peta.", }, associatedDomains: ["applinks:cld-dkr-staging-hipmi.wibudev.com"], - buildNumber: "8", + buildNumber: "9", }, android: { diff --git a/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj b/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj index f4b773c..94f5563 100644 --- a/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj +++ b/ios/HIPMIBadungConnect.xcodeproj/project.pbxproj @@ -401,7 +401,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = HIPMIBadungConnect/HIPMIBadungConnect.entitlements; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = BMY6GT6W3D; ENABLE_BITCODE = NO; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -438,7 +438,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = HIPMIBadungConnect/HIPMIBadungConnect.entitlements; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_TEAM = BMY6GT6W3D; INFOPLIST_FILE = HIPMIBadungConnect/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.1; diff --git a/ios/HIPMIBadungConnect/Info.plist b/ios/HIPMIBadungConnect/Info.plist index dedab2d..dab20b7 100644 --- a/ios/HIPMIBadungConnect/Info.plist +++ b/ios/HIPMIBadungConnect/Info.plist @@ -39,7 +39,7 @@ CFBundleVersion - 8 + 9 ITSAppUsesNonExemptEncryption LSMinimumSystemVersion @@ -53,15 +53,18 @@ NSAllowsLocalNetworking - - + NSCameraUsageDescription + Allow $(PRODUCT_NAME) to access your camera + NSLocationAlwaysAndWhenInUseUsageDescription + Allow $(PRODUCT_NAME) to access your location + NSLocationAlwaysUsageDescription + Allow $(PRODUCT_NAME) to access your location + NSLocationWhenInUseUsageDescription + Aplikasi membutuhkan akses lokasi untuk menampilkan peta. + NSMicrophoneUsageDescription + Allow $(PRODUCT_NAME) to access your microphone NSPhotoLibraryUsageDescription Untuk mengunggah dokumen dan media bisnis seperti foto profil, logo usaha, poster lowongan, atau bukti transaksi di berbagai fitur aplikasi: Profile, Portofolio, Job Vacancy, Investasi, dan Donasi. - - - NSCameraUsageDescription - Untuk mengambil foto langsung saat mengunggah dokumen bisnis seperti foto profil, logo usaha, poster, atau bukti pembayaran di fitur Profile, Portofolio, Job Vacancy, Investasi, dan Donasi. - NSUserActivityTypes $(PRODUCT_BUNDLE_IDENTIFIER).expo.index_route diff --git a/ios/Podfile b/ios/Podfile index e5d0bff..3156718 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -33,6 +33,13 @@ target 'HIPMIBadungConnect' do use_frameworks! :linkage => podfile_properties['ios.useFrameworks'].to_sym if podfile_properties['ios.useFrameworks'] use_frameworks! :linkage => ENV['USE_FRAMEWORKS'].to_sym if ENV['USE_FRAMEWORKS'] +# @generated begin pre_installer - expo prebuild (DO NOT MODIFY) sync-c8812095000d6054b846ce74840f0ffb540c2757 + pre_install do |installer| +# @generated begin @rnmapbox/maps-pre_installer - expo prebuild (DO NOT MODIFY) sync-ea4905840bf9fcea0acc62e92aa2e784f9d760f8 + $RNMapboxMaps.pre_install(installer) +# @generated end @rnmapbox/maps-pre_installer + end +# @generated end pre_installer use_react_native!( :path => config[:reactNativePath], :hermes_enabled => podfile_properties['expo.jsEngine'] == nil || podfile_properties['expo.jsEngine'] == 'hermes', @@ -42,6 +49,9 @@ target 'HIPMIBadungConnect' do ) post_install do |installer| +# @generated begin @rnmapbox/maps-post_installer - expo prebuild (DO NOT MODIFY) sync-c4e8f90e96f6b6c6ea9241dd7b52ab5f57f7bf36 + $RNMapboxMaps.post_install(installer) +# @generated end @rnmapbox/maps-post_installer react_native_post_install( installer, config[:reactNativePath],