Skip to content

Conversation

@Cesarello
Copy link

I've made modifications to update the alertMessage property of the iOS default bottomSheet in Flutter. In the given code snippet, we have a method handleNfcUpdateSession that takes an argument alertMessage and updates the session's alertMessage property with the new value. This allows us to dynamically change the alert message displayed in the bottomSheet. Additionally, I've created a Flutter method updateSession that you can call to update the alertMessage by invoking the native method Nfc#updateSession with the new alertMessage value.
These changes enable you to provide a customized alert message for the iOS bottomSheet within your Flutter app.

@PeteClubSeven
Copy link

Thanks for this, I'm gonna add it to my fork as it's helpful for my use case ❤️

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