Giter Club home page Giter Club logo

react-native-wallet-manager's People

Contributors

brantleyenglish avatar ferencik-f avatar lucasveloz avatar mshekspirtt avatar pratiknaik-tavisca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-native-wallet-manager's Issues

NFC Features

Hello there ๐Ÿ‘‹
Thanks for your hard work!

I'd like to know if I can use the NFC feature on the Apple Wallet when I add the pass to it.

For instance, can I add an access key to unlock a smart lock?

Thanks!

What is pass identifier and pass serial number?

I am always getting WalletManager.hasPass as false. Please help me to understand about pass identifier and pass serial number.

  const addToAppleWallet = async () => {
    // REF: https://www.nearform.com/insights/how-to-create-custom-apple-wallet-passes-with-react-native-and-fastify/
    const data = {
      name: userData?.shortName,
      empId: userData?.username,
      position: userData?.designation,
      department: userData?.orgName,
      profile: imagePath,
    };

    // Skip if the name is not set
    if (!data?.name) return;
    try {
      const result = await WalletManager.hasPass(userData?.shortName);
      console.log('hasPasshasPass', result);

      setIsLoadingPass(true);
      const pass = await fetch(Config.passkeyApiIos, {
        method: 'POST',
        headers: { 'Content-Type': 'application/json' },
        body: JSON.stringify(data),
      });
      const passBlob = await pass.blob();
      const res = await WalletManager.addPassFromUrl(await blobToDataUrl(passBlob));
      console.log('resresres', res);
      setIsLoadingPass(false);
    } catch (e) {
      console.log(e);
      setIsLoadingPass(false);
    }
  };

bank payment card

Hello
Thanks for awesome package.
Is it possible to add a bank payment card using this package in order to use it in Apple Pay?

Authenticating Web Requests

Hi,

We've got our backend which is set up able to generate the passes, however we need to have authentication in place to identify who the user is and if they have permission to download this pass.

The addPassFromUrl method just provides a URL, however doesn't allow us to apply any headers, POST payloads, etc to authenticate.

How would you suggest we do this?

Thanks

Error when building apk please help

There is an error when building apk

node_modules/react-native-wallet-manager/android/build/intermediates/merged_res/release/values/values.xml:2718: AAPT: error: resource android:attr/lStar not found.

how to sort this out? Please help thanks

Integration with Expo Go

With the addition of native expo modules and expo plugins, would it be possible to integrate those options so that there is no need to run expo run:ios but expo start --ios which lets you open it from the Expo Go app and does not require a precompile step.

Thanks for the help this package is awesome!

error on android encountered when building apk

node_modules/react-native-wallet-manager/android/build/intermediates/merged_res/release/values/values.xml:2717: AAPT: error: resource android:attr/lStar not found.

how to I fix this?

Environment

"react": "18.2.0",
"react-native": "0.71.11",
"react-native-wallet-manager": "^0.0.2",

buildscript {
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 21
compileSdkVersion = 33
targetSdkVersion = 33
ndkVersion = "23.1.7779620"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("com.facebook.react:react-native-gradle-plugin")
}
}

IOS crash if apple wallet not instaled

Hi! In old devices like iphone 7 you can remove apple wallet from device. In this case the aplication crashes when you try to add a pass to the wallet.
I try to use Linking.canOpenUrl('shoebox://') to know if device can open it, but if apple wallet is not installed this link opens directly the app store to download it...
Anyone knows some way to handle that case??

Has Pass and View Pass not working in TestFlight

I am able to add the pass however hasPass always show false in TestFlight, viewPass and removePass(always show false) are not working but is working fine in development mode. Shall I need to perform any extra setup to make it run in live or in TestFlight?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.