Skip to content

sift conflicts with stripe-android > 16 #16

@alita-moore

Description

@alita-moore

I'm trying to upgrade RN and my sdk version. The I needed to upgrade the stripe android version because it errors otherwise, but then this package throws the following errors:

I'm using implementation 'com.stripe:stripe-android:19.3.1' and this happens on assemble (android only)

Executing 'assemble'...

/Users/alitamoore/github/snackpass/snackpass-client-rn70/node_modules/tipsi-stripe/android/src/main/java/com/gettipsi/stripe/util/Converters.java:89: error: cannot find symbol
    result.putString("number", card.getNumber());
                                   ^
  symbol:   method getNumber()
  location: variable card of type Card
/Users/alitamoore/github/snackpass/snackpass-client-rn70/node_modules/tipsi-stripe/android/src/main/java/com/gettipsi/stripe/util/Converters.java:90: error: cannot find symbol
    result.putString("cvc", card.getCvc() );
                                ^
  symbol:   method getCvc()
  location: variable card of type Card
/Users/alitamoore/github/snackpass/snackpass-client-rn70/node_modules/tipsi-stripe/android/src/main/java/com/gettipsi/stripe/util/Converters.java:184: error: cannot find symbol
    return new Card.Builder(
                   ^
  symbol:   class Builder
  location: class Card
/Users/alitamoore/github/snackpass/snackpass-client-rn70/node_modules/tipsi-stripe/android/src/main/java/com/gettipsi/stripe/util/Converters.java:220: error: cannot find symbol
    newSource.putMap("metadata", stringMapToWritableMap(source.getMetaData()));
                                                              ^
  symbol:   method getMetaData()
  location: variable source of type Source

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions