Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
iOS crash Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldevgarg committed Jan 25, 2024
1 parent 8d38262 commit 238dc9e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 37 deletions.
2 changes: 1 addition & 1 deletion frontend/mgramseva/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion frontend/mgramseva/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
# platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
38 changes: 10 additions & 28 deletions frontend/mgramseva/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
PODS:
- charset_converter (0.0.1):
- Flutter
- DKImagePickerController/Core (4.3.4):
- DKImagePickerController/ImageDataManager
- DKImagePickerController/Resource
Expand Down Expand Up @@ -81,9 +79,9 @@ PODS:
- FirebaseCoreInternal (~> 10.0)
- GoogleUtilities/Environment (~> 7.12)
- GoogleUtilities/Logger (~> 7.12)
- FirebaseCoreInternal (10.18.0):
- FirebaseCoreInternal (10.20.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- FirebaseInstallations (10.18.0):
- FirebaseInstallations (10.20.0):
- FirebaseCore (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/UserDefaults (~> 7.8)
Expand Down Expand Up @@ -148,8 +146,6 @@ PODS:
- nanopb/encode (= 2.30909.1)
- nanopb/decode (2.30909.1)
- nanopb/encode (2.30909.1)
- network_info_plus (0.0.1):
- Flutter
- open_filex (0.0.2):
- Flutter
- package_info_plus (0.4.5):
Expand All @@ -164,17 +160,14 @@ PODS:
- printing (1.0.0):
- Flutter
- PromisesObjC (2.3.1)
- SDWebImage (5.18.5):
- SDWebImage/Core (= 5.18.5)
- SDWebImage/Core (5.18.5)
- SDWebImage (5.18.10):
- SDWebImage/Core (= 5.18.10)
- SDWebImage/Core (5.18.10)
- SwiftyGif (5.4.4)
- thermal_printer (1.0.0):
- Flutter
- url_launcher_ios (0.0.1):
- Flutter

DEPENDENCIES:
- charset_converter (from `.symlinks/plugins/charset_converter/ios`)
- file_picker (from `.symlinks/plugins/file_picker/ios`)
- firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)
- firebase_core (from `.symlinks/plugins/firebase_core/ios`)
Expand All @@ -185,14 +178,12 @@ DEPENDENCIES:
- flutter_share_me (from `.symlinks/plugins/flutter_share_me/ios`)
- image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
- integration_test (from `.symlinks/plugins/integration_test/ios`)
- network_info_plus (from `.symlinks/plugins/network_info_plus/ios`)
- open_filex (from `.symlinks/plugins/open_filex/ios`)
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
- print_bluetooth_thermal (from `.symlinks/plugins/print_bluetooth_thermal/ios`)
- printing (from `.symlinks/plugins/printing/ios`)
- thermal_printer (from `.symlinks/plugins/thermal_printer/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)

SPEC REPOS:
Expand All @@ -217,8 +208,6 @@ SPEC REPOS:
- SwiftyGif

EXTERNAL SOURCES:
charset_converter:
:path: ".symlinks/plugins/charset_converter/ios"
file_picker:
:path: ".symlinks/plugins/file_picker/ios"
firebase_analytics:
Expand All @@ -239,8 +228,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/image_picker_ios/ios"
integration_test:
:path: ".symlinks/plugins/integration_test/ios"
network_info_plus:
:path: ".symlinks/plugins/network_info_plus/ios"
open_filex:
:path: ".symlinks/plugins/open_filex/ios"
package_info_plus:
Expand All @@ -253,13 +240,10 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/print_bluetooth_thermal/ios"
printing:
:path: ".symlinks/plugins/printing/ios"
thermal_printer:
:path: ".symlinks/plugins/thermal_printer/ios"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"

SPEC CHECKSUMS:
charset_converter: 215c7b04932ec2b9ba43be96a9bc34afed3e5322
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
FBAEMKit: d00064597439e75885c70d9adbcb5f3e9ad84f5d
Expand All @@ -273,9 +257,9 @@ SPEC CHECKSUMS:
firebase_core: 29d66baf806970cda37c93621b27cd369b27db1b
FirebaseAnalytics: 4d310b35c48eaa4a058ddc04bdca6bdb5dc0fe80
FirebaseCore: 2322423314d92f946219c8791674d2f3345b598f
FirebaseCoreInternal: 8eb002e564b533bdcf1ba011f33f2b5c10e2ed4a
FirebaseInstallations: e842042ec6ac1fd2e37d7706363ebe7f662afea4
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
FirebaseCoreInternal: efeeb171ac02d623bdaefe121539939821e10811
FirebaseInstallations: 558b1da7d65afeb996fd5c814332f013234ece4e
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
flutter_downloader: b7301ae057deadd4b1650dc7c05375f10ff12c39
flutter_keyboard_visibility: 0339d06371254c3eb25eeb90ba8d17dca8f9c069
flutter_secure_storage: 23fc622d89d073675f2eaa109381aefbcf5a49be
Expand All @@ -285,19 +269,17 @@ SPEC CHECKSUMS:
image_picker_ios: 4a8aadfbb6dc30ad5141a2ce3832af9214a705b5
integration_test: 13825b8a9334a850581300559b8839134b124670
nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5
network_info_plus: 6d0c3eb8367b8164fa3fb0c19875e3f59d49697f
open_filex: 6e26e659846ec990262224a12ef1c528bb4edbe4
package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
print_bluetooth_thermal: 54a9ba9436479dd633d18f393669ee793ee498fa
printing: 233e1b73bd1f4a05615548e9b5a324c98588640b
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
SDWebImage: 7ac2b7ddc5e8484c79aa90fc4e30b149d6a2c88f
SDWebImage: fc8f2d48bbfd72ef39d70e981bd24a3f3be53fec
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f
thermal_printer: 1885c43c3f17b912ca2c29e7f44822dddc2c24b9
url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b

PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011

COCOAPODS: 1.14.3
18 changes: 11 additions & 7 deletions frontend/mgramseva/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>FLTEnableImpeller</key>
<false />
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.dwss.mgramseva</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down Expand Up @@ -37,14 +41,18 @@
</dict>
<key>NSAppleMusicUsageDescription</key>
<string>Explain why your app uses music</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>We require Bluetooth permission to connect to Thermal Printers.</string>
<key>NSCameraUsageDescription</key>
<string>This app requires access to the camera to enable you to upload expense bills.</string>
<key>NSMicrophoneUsageDescription</key>
<string>This app does not require access to the microphone.</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>We require Bluetooth permission to connect to Thermal Printers.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Explain why your app uses photo library</string>
<key>NSBluetoothAlwaysUsageDescription</key>
<string>We need Bluetooth permission to enable you to use the thermal printer.</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
Expand All @@ -71,9 +79,5 @@
<true/>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
</dict>
</plist>

0 comments on commit 238dc9e

Please sign in to comment.