tolu360 / react-native-paystack

React Native Wrapper for the Paystack Native Mobile SDKs
162 stars 46 forks source link

Setup/Build failed with react-native 0.60. and androidx #33

Open peterchibunna opened 5 years ago

peterchibunna commented 5 years ago

I'm stuck because I'm using react-native 0.60. Error is below:

* What went wrong:
Could not determine the dependencies of task ':react-native-paystack:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':react-native-paystack:debugCompileClasspath'.
   > Could not resolve androidx.appcompat:appcompat:{strictly 1.0.0}.
     Required by:
         project :react-native-paystack
      > Cannot find a version of 'androidx.appcompat:appcompat' that satisfies the version constraints: 
           Dependency path 'project1:react-native-paystack:unspecified' --> 'com.facebook.react:react-native:0.60.3' --> 'androidx.appcompat:appcompat:1.0.2'
           Constraint path 'project1:react-native-paystack:unspecified' --> 'androidx.appcompat:appcompat:{strictly 1.0.0}' because of the following reason: debugRuntimeClasspath uses version 1.0.0
dagenius007 commented 5 years ago

Same issue

tolu360 commented 5 years ago

Hold off on moving to 0.60. just yet or look into using jetifier in the meantime, if you must use 0.60.. I would update the library shortly, cheers!

peterchibunna commented 5 years ago

Hi @tolu360, using jetifier results in the same error. I noticed that react-native 0.60 uses jetifier automatically (at least in my own scenario). I think it's the library that is breaking. Thanks as you continue to make us smile.

misteryomi commented 5 years ago

Hold off on moving to 0.60. just yet or look into using jetifier in the meantime, if you must use 0.60.. I would update the library shortly, cheers!

We're still waiting. We'd appreciate a quick update.

tolu360 commented 5 years ago

I'd merge in a good PR if you send in one. Cheers!

On Mon, Aug 19, 2019, 2:05 PM misteryomi notifications@github.com wrote:

Hold off on moving to 0.60. just yet or look into using jetifier in the meantime, if you must use 0.60.. I would update the library shortly, cheers!

We're still waiting. We'd appreciate a quick update.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tolu360/react-native-paystack/issues/33?email_source=notifications&email_token=AA53YZQG26XKCUMDPLZRMJ3QFKK77A5CNFSM4IEQCCV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4S3J6Y#issuecomment-522564859, or mute the thread https://github.com/notifications/unsubscribe-auth/AA53YZSPNTSCUBODXMW7SM3QFKK77ANCNFSM4IEQCCVQ .

abdulsamadola commented 5 years ago

Am also facing the same issue on react-native 0.60 Waiting for the update. Thanks a lot

peterchibunna commented 5 years ago

@tolu360 can you point me in the right direction. I think the fix is in a related library hosted somewhere. If you can direct us to the appropriate channel, we'd appreciate.

tolu360 commented 5 years ago

Hold off a little, I am pushing an update in a few hours (today). Cheers!

On 17 Jul 2019, at 1:57 PM, peterchibunna notifications@github.com wrote:

I'm stuck because I'm using react-native 0.60. Error is below:

tolu360 commented 5 years ago

Hi All, Suggested update path should follow the following steps:

Cheers!