File tree 7 files changed +48
-8
lines changed
7 files changed +48
-8
lines changed Original file line number Diff line number Diff line change 37
37
post_install do |installer |
38
38
installer . pods_project . targets . each do |target |
39
39
flutter_additional_ios_build_settings ( target )
40
+ # Just Audio Config
40
41
target . build_configurations . each do |config |
41
42
config . build_settings [ 'GCC_PREPROCESSOR_DEFINITIONS' ] ||= [
42
43
'$(inherited)' ,
Original file line number Diff line number Diff line change 50
50
<key >NSAllowsArbitraryLoadsForMedia </key >
51
51
<true />
52
52
</dict >
53
- <key >CADisableMinimumFrameDurationOnPhone </key >
54
- <true />
55
- </dict >
56
- </plist >
53
+ <key >CADisableMinimumFrameDurationOnPhone </key >
54
+ <true />
55
+ </dict >
56
+ </plist >
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import audioplayers_darwin
11
11
import catcher
12
12
import device_info_plus
13
13
import flutter_secure_storage_macos
14
+ import just_audio
14
15
import local_notifier
15
16
import package_info_plus
16
17
import path_provider_foundation
@@ -30,6 +31,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
30
31
CatcherPlugin . register ( with: registry. registrar ( forPlugin: " CatcherPlugin " ) )
31
32
DeviceInfoPlusMacosPlugin . register ( with: registry. registrar ( forPlugin: " DeviceInfoPlusMacosPlugin " ) )
32
33
FlutterSecureStoragePlugin . register ( with: registry. registrar ( forPlugin: " FlutterSecureStoragePlugin " ) )
34
+ JustAudioPlugin . register ( with: registry. registrar ( forPlugin: " JustAudioPlugin " ) )
33
35
LocalNotifierPlugin . register ( with: registry. registrar ( forPlugin: " LocalNotifierPlugin " ) )
34
36
FLTPackageInfoPlusPlugin . register ( with: registry. registrar ( forPlugin: " FLTPackageInfoPlusPlugin " ) )
35
37
PathProviderPlugin . register ( with: registry. registrar ( forPlugin: " PathProviderPlugin " ) )
Original file line number Diff line number Diff line change 6
6
<true />
7
7
<key >com.apple.security.cs.allow-jit</key >
8
8
<true />
9
- <key >com.apple.security.network.client</key >
10
- <true />
11
9
<key >com.apple.security.network.server</key >
12
10
<true />
11
+ <key >com.apple.security.network.client</key >
12
+ <true />
13
+ <!-- Just Audio Config -->
14
+ <key >NSAppTransportSecurity</key >
15
+ <dict >
16
+ <key >NSAllowsArbitraryLoads</key >
17
+ <true />
18
+ </dict >
13
19
<!-- Requires Certification -->
14
20
<!-- <key>keychain-access-groups</key>
15
21
<array /> -->
Original file line number Diff line number Diff line change 4
4
<dict >
5
5
<key >com.apple.security.app-sandbox</key >
6
6
<true />
7
- <key >com.apple.security.network.client</key >
8
- <true />
9
7
<key >com.apple.security.network.server</key >
10
8
<true />
9
+ <!-- Just Audio Config -->
10
+ <key >com.apple.security.network.client</key >
11
+ <true />
12
+ <key >NSAppTransportSecurity</key >
13
+ <dict >
14
+ <key >NSAllowsArbitraryLoads</key >
15
+ <true />
16
+ </dict >
11
17
<!-- Requires Certification -->
12
18
<!-- <key>keychain-access-groups</key>
13
19
<array /> -->
Original file line number Diff line number Diff line change @@ -998,6 +998,30 @@ packages:
998
998
url: "https://pub.dev"
999
999
source: hosted
1000
1000
version: "6.6.1"
1001
+ just_audio:
1002
+ dependency: "direct main"
1003
+ description:
1004
+ name: just_audio
1005
+ sha256: "7e6d31508dacd01a066e3889caf6282e5f1eb60707c230203b21a83af5c55586"
1006
+ url: "https://pub.dev"
1007
+ source: hosted
1008
+ version: "0.9.32"
1009
+ just_audio_platform_interface:
1010
+ dependency: transitive
1011
+ description:
1012
+ name: just_audio_platform_interface
1013
+ sha256: eff112d5138bea3ba544b6338b1e0537a32b5e1425e4d0dc38f732771cda7c84
1014
+ url: "https://pub.dev"
1015
+ source: hosted
1016
+ version: "4.2.0"
1017
+ just_audio_web:
1018
+ dependency: transitive
1019
+ description:
1020
+ name: just_audio_web
1021
+ sha256: "89d8db6f19f3821bb6bf908c4bfb846079afb2ab575b783d781a6bf119e3abaf"
1022
+ url: "https://pub.dev"
1023
+ source: hosted
1024
+ version: "0.4.7"
1001
1025
lints:
1002
1026
dependency: transitive
1003
1027
description:
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ dependencies:
55
55
introduction_screen : ^3.0.2
56
56
json_annotation : ^4.8.0
57
57
json_serializable : ^6.6.0
58
+ just_audio : ^0.9.32
58
59
logger : ^1.1.0
59
60
metadata_god : ^0.4.1
60
61
mime : ^1.0.2
You can’t perform that action at this time.
0 commit comments