triniwiz / triniwiz/nativescript-plugins

Issue selecting image after app resumes from 3d Authentication on Android

Open
#136 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Android bug Stripe
Dominant language
C
Stars
87
Forks
57
Avg merge
1h 36m
Merged PRs (30d)
4

Description

I add the stripe test card 4000 0000 0000 3220
I complete the 3D secure Authentication and close the window which takes me back to the app.

After i resume back to the app i notice that selecting images from the phone gallary or capturing images through camera stops working.

Everything works expected once i restart the app.

Based on my findings in case of imagepicker ->

var context = imagepicker.create({ mode: "single" });
context.present() never resolves the promise and thus image selected from gallary isn't shown in the app.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Android flow with Stripe test card 4000 0000 0000 3220: complete 3D Secure, return to the app, then try the gallery and camera. Start at the imagepicker.create({ mode: "single" }) and context.present() entry points; done means image selection and capture work after resume without restarting the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.