capacitor-community / stripe

Stripe Mobile SDK wrapper for Capacitor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plugin dependency issue on androidx.emoji2:emoji2-views-helper:1.4.0 capacitor 5

Aksoom-Hussain opened this issue · comments

commented

Platform

Android

unable to run app or get the app build successfully after updating from 5.0.0 to 5.0.6
need seperate version mention for v5 as v6 is still in beta and other plugin also to need migration

on running app in android 14
the error we get

 java.lang.SecurityException: com.vajjan.partner: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

https://github.com/ionic-team/capacitor-plugins/issues/1994

There is some more detail here: ionic-team/capacitor-plugins#1994

The issue can be fixed by updating the target SDK to 34, but this change should only roll out with capacitor v6 and currently this plugin is (should be) compatible with capacitor 5, which targets 33.

Thanks for the issue, seems to be caused by the stripeAndroidVersion.

d31584c#diff-b599c22598368631cc43e7e02acf0a 52f84a6c7d0dd7e212414c822f2dbc6821

Can you try setting the stripeAndroidVersion to 20.32.+ or lower in the project variables.gradle to see if that fixes it?

commented

@rdlabo thank you for your reply,
i fix it by downgrading the package, although i feel the documentation need to be mention fix by separating capacitor v5 and v6 version as v5 support android version 33

@Aksoom-Hussain Thanks, v6 support is in progress at #332 and does not need to be considered here.

We have released 5.4.3-1 to see if this is caused by an issue with the Stripe Android version. Please try this version.

% npm install @capacitor-community/stripe@5.4.3-1
% npx cap update

@rdlabo Unfortunately installing @capacitor-community/stripe@5.4.3-1 did not work - did you test it first?
Screenshot 2024-01-30 at 10 35 11 AM

I get a successful build if I roll back to v5.2.0

commented

@Aksoom-Hussain Thanks, v6 support is in progress at #332 and does not need to be considered here.

We have released 5.4.3-1 to see if this is caused by an issue with the Stripe Android version. Please try this version.

% npm install @capacitor-community/stripe@5.4.3-1
% npx cap update

have tried your patch the issue still exist

Sorry for the delay. We have released v5.4.3 which fixes this issue. However, due to security concerns with the library, we will no longer support Android Version 33 by default after this version.

https://github.com/capacitor-community/stripe/releases/tag/v5.4.3

Thanks.