Fix iOS webview

This commit is contained in:
Christian Pauly 2020-04-10 14:41:56 +02:00
parent 073c8c0bca
commit e41f1e30e8
3 changed files with 7 additions and 10 deletions

View File

@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>io.flutter.embedded_views_preview</key>
<true/>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string> <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
@ -28,8 +30,7 @@
<string>Share photos with your contacts</string> <string>Share photos with your contacts</string>
<key>UIBackgroundModes</key> <key>UIBackgroundModes</key>
<array> <array>
<string>fetch</string> <string>audio</string>
<string>remote-notification</string>
</array> </array>
<key>UILaunchStoryboardName</key> <key>UILaunchStoryboardName</key>
<string>LaunchScreen</string> <string>LaunchScreen</string>
@ -52,9 +53,5 @@
<false/> <false/>
<key>NSMicrophoneUsageDescription</key> <key>NSMicrophoneUsageDescription</key>
<string>FluffyChat uses the microphone to record voice messages.</string> <string>FluffyChat uses the microphone to record voice messages.</string>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
</dict> </dict>
</plist> </plist>

View File

@ -117,8 +117,8 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: "." path: "."
ref: "31871235a59af16c7c163f767d7a7f8486457429" ref: "28dee0e2e3dc2fdde64b29d0a65028b49b4c4dc7"
resolved-ref: "31871235a59af16c7c163f767d7a7f8486457429" resolved-ref: "28dee0e2e3dc2fdde64b29d0a65028b49b4c4dc7"
url: "https://gitlab.com/famedly/famedlysdk.git" url: "https://gitlab.com/famedly/famedlysdk.git"
source: git source: git
version: "0.0.1" version: "0.0.1"
@ -724,7 +724,7 @@ packages:
name: webview_flutter name: webview_flutter
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.19+4" version: "0.3.19+9"
xml: xml:
dependency: transitive dependency: transitive
description: description:

View File

@ -42,7 +42,7 @@ dependencies:
flutter_local_notifications: ^0.9.1+2 flutter_local_notifications: ^0.9.1+2
link_text: ^0.1.1 link_text: ^0.1.1
path_provider: ^1.5.1 path_provider: ^1.5.1
webview_flutter: ^0.3.19+4 webview_flutter: ^0.3.19+9
share: ^0.6.3+5 share: ^0.6.3+5
flutter_secure_storage: ^3.3.1+1 flutter_secure_storage: ^3.3.1+1
http: ^0.12.0+4 http: ^0.12.0+4