Ahmad Bilal
Ahmad Bilal
how did you install this library I'm unable to install this ?
add react- native.config.js file in root of your project and add these lines in it module.exports = { dependencies: { 'react-native-perspective-image-cropper': { platforms: { android: { packageImportPath: 'import fr.michaelvilleneuve.customcrop.RNCustomCropPackage;', }...
it will resolve your issue but you will face some other issues in future 📟
@clsource where react-native config.js file is located ??
can any one can send source code ?
source code for only file where u used this component
2021-01-05 22:54:36.399 24195-24323/com.desider.hayatiffy E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1 Process: com.desider.hayatiffy, PID: 24195 java.lang.IllegalArgumentException: Invalid client secret: sk_test_51HiwWFF6nhJo************************* at com.stripe.android.model.PaymentIntent$ClientSecret.(PaymentIntent.kt:266) at com.stripe.android.StripeApiRepository.confirmPaymentIntent(StripeApiRepository.kt:111) at com.stripe.android.StripePaymentController$ConfirmStripeIntentTask.getResult$stripe_release(StripePaymentController.kt:529) at com.stripe.android.ApiOperation$execute$1.invokeSuspend(ApiOperation.kt:23) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)...
but I am using valid key
can I use my client secret from my strip account in app directly ? or backend developer will give me through API ?
ok ill try in coming hours will let you know shortly thanks for your response