Skip to content

Conversation

@deathcoder
Copy link

closes #652

@remonh87
Copy link
Member

thanks for you contribution. We will integrate a fix once Flutter promotes this change to the stable channel.

val channel = MethodChannel(flutterPluginBinding.binaryMessenger, "flutter.stripe/aubecs_form_field/${viewId}")
val creationParams = args as? Map<String?, Any?>?
return StripeAubecsDebitPlatformView(context, channel, viewId, creationParams, auBECSDebitFormViewManager, sdkAccessor)
return StripeAubecsDebitPlatformView(context!!, channel, viewId, creationParams, auBECSDebitFormViewManager, sdkAccessor)
Copy link
Member

@remonh87 remonh87 Mar 27, 2022

Choose a reason for hiding this comment

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

@jonasbark I am not convinced of using !! here. When we integrate a fix I think we should handle a nullable context in the platform views itself + provide a meaningful error message. What do you think?

@remonh87
Copy link
Member

Thanks for the help @deathcoder I integrated the changes in #721 so will close this pr for now

@remonh87 remonh87 closed this May 12, 2022
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.

stripe-android not compatible with Flutter 2.12.0-4.1.pre (beta)

3 participants