Skip to content
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

Merged
merged 2 commits into from
Mar 14, 2024
Merged

Conversation

himanshuGandhiSimform
Copy link
Collaborator

Upgrade the flutter version

Copy link
Collaborator

@ujas-m-simformsolutions ujas-m-simformsolutions left a 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) {
Copy link
Collaborator

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){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^^

@ujas-m-simformsolutions ujas-m-simformsolutions merged commit 8e57aa1 into main Mar 14, 2024
@ujas-m-simformsolutions ujas-m-simformsolutions deleted the upgrade_flutter_version branch March 14, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants