-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade the flutter version #278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please also update pubspec in example and remove ambigute function since it is unnecessary now?
Also, please do check after upgrading if we have to any key in info.plist or have to update gradle file.
@@ -247,9 +247,9 @@ class AudioWaveformsPlugin : FlutterPlugin, MethodCallHandler, ActivityAware { | |||
} | |||
|
|||
private fun getUpdateFrequency(frequency: Int?): UpdateFrequency { | |||
if (frequency == 2) { | |||
if (frequency == 50) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can directly use value and remove this function as well as the enum
@@ -146,9 +146,9 @@ public class SwiftAudioWaveformsPlugin: NSObject, FlutterPlugin { | |||
} | |||
|
|||
func getUpdateFrequency(freq: Int?) -> UpdateFrequency{ | |||
if(freq == 2){ | |||
if(freq == 50){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^
94c6f77
to
f8f13f5
Compare
Upgrade the flutter version