befovy / flutter_volume Goto Github PK
View Code? Open in Web Editor NEWA Flutter Plugin for Volume Control and Monitoring, support iOS and Android
Home Page: https://www.yuque.com/befovy/share/flutter_volume/
License: MIT License
A Flutter Plugin for Volume Control and Monitoring, support iOS and Android
Home Page: https://www.yuque.com/befovy/share/flutter_volume/
License: MIT License
I have the following error, how to solve it? I am running on a simulator, thanks!
flutter_volume
does not specify a Swift version and none of the targets (Runner
) integrating it have the SWIFT_VERSION
attribute set. Please contact the author or set the SWIFT_VERSION
attribute in at least one of the targets that integrate this pod.
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/xcode/target_validator.rb:125:in verify_swift_pods_swift_version' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/xcode/target_validator.rb:39:in
validate!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:590:in validate_targets' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:158:in
install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in run' /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in
run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in
<top (required)>'
/usr/local/bin/pod:23:in load' /usr/local/bin/pod:23:in
Error output from CocoaPods:
↳
[!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
Error running pod install
FAILURE: Build failed with an exception.
FlutterVolume.set(double vol, type: FlutterVolume.RING ) 这个type 是设置是否为铃声/媒体/闹钟等声音的吗?如果是,为什么不生效呢
it is working well on android but in ios it doesn't update volume
It is possible to increase ext.kotlin_version?
I had issues while building my project with kotlin_version 1.3.61.
If I change the version to 1.3.61 in file
"External Libraries/Flutter Plugins/sys_volume-0.1.0/android/src/main/build.gradle" everything works fine.
Change required in "sys_volume-0.1.0/android/src/main/build.gradle" file. Set ext.kotlin_version to '1.3.61'
TODO #
Make it iOS compatible (help is appreciated!)
我有点慌
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.