-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android support #3
Comments
Do you mean that for android I should launch an intent that opens the pass with a shoebox urlscheme? |
not sure yet |
Android has certain apps that can handle your Apple Wallet Passes. I found out that the approach I took in this commit, will never work, as I misunderstood what the shoebox urlscheme does on iOS. It will open Apple Pay, it's not something they use in PassKit to add passes. I figured this out when I installed a few of those Android apps and they didn't really care about my urlscheme. When I removed the code that changes the uri's scheme to shoebox and the browser offered me to download the pkpass file for me. All the Android apps were able to add the pkpass. Next step will be to try and download the file in a Downloads folder and offer an intent to any app that says it can handle the file. Re #3
@erikpoort Nice library! Question, Would it make sense for this library to integrate the new Google Pay (GPay) SDK to support android? I'm confused on a few points, but I'm assuming GPay has the same functionality as Apple Wallet in regards to this library. I would like to help develop this add-on if possible. Any advice for someone who has not created a react-native library before? I'm assuming it all comes down to exporting the necessary endpoints and testing. Thanks! |
I'm not really up to date on Android development, so I wouldn't be able to tell you whether or not it has the same functionalities. If you want to add this functionality to the lib, you can send me a PR. Check out some of my other repositories to get an idea on how I like the setup to be done :) |
Did you find a GPay version? |
No description provided.
The text was updated successfully, but these errors were encountered: