Provides some Apple Wallet functionality, like adding passes, removing passes and checking passises for existing.

Overview

react-native-wallet-manager

Provides some Apple Wallet's functionality, like adding passes, removing passes and checking passises for existing.

npm version npm MIT
Platform - Android Platform - iOS

Installation

yarn add react-native-wallet-manager

or

npm install react-native-wallet-manager

iOS installation

Add Wallet module to capabilities in Xcode.

Don't forget to run pod install!

Usage

Adding pass to wallet by url

import WalletManager from 'react-native-wallet-manager';

// ...

try {
  const result = await WalletManager.addPassFromUrl(
    'https://github.com/dev-family/react-native-wallet-manager/blob/main/example/resources/test.pkpass?raw=true'
  );
  console.log(result);
  // true
} catch (e) {
  console.log(e);
}

Checking for pass exists (iOS only)

try {
  const result = await WalletManager.hasPass(
    'pass.family.dev.stage.beerpoint-master',
    'serial-xxx'
  );
  console.log(result);
} catch (e) {
  console.log(e);
}

First argument is pass identifier. You can pass second argument (optional) to specify pass serial number.

Removing pass (iOS only)

try {
  const result = await WalletManager.removePass(
    'pass.family.dev.stage.beerpoint-master',
    'serial-xxx'
  );
  console.log(result);
} catch (e) {
  console.log(e);
}

First argument is pass identifier. You can pass second argument (optional) to specify pass serial number.

Project inspired by react-native-wallet

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Owner
dev.family
We develop complex services and solutions for startups
dev.family
A little of Java content every day for a hundred days.

100 Days of Java Table of Contents Day 1 - Generating a random number within a specific range. Day 2 - Formatting a LocalDateTime object. Day 3 - Sche

Helber Belmiro 43 Sep 11, 2021
React Native wrapper around Indy SDK Java and Objective-C wrappers.

React Native Indy SDK React Native Indy SDK wrapper. Installation with npm: $ npm install indy-sdk-react-native --save with Yarn: $ yarn add indy-sdk-

Hyperledger 11 Aug 21, 2021
Get device location by telephony (SIM card) or settings without using GPS tracker.

react-native-device-country Get device location by telephony (SIM card) or settings without using GPS tracker Installation yarn add react-native-devic

dev.family 15 Aug 16, 2021
Dynamically filters JPA entities with a simple query syntax. Provides JPA/Hibernate predicates and Spring Data specifications.

Spring Filter You need a way to dynamically filter entities without any effort? Just add me to your pom.xml. Your API will gain a full featured search

Turkraft 56 Sep 9, 2021
Dynamic Configuration Capability for SpringBoot Application

Spring Boot Dynamic Config Hot-reload your SpringBoot configurations, with just a '@DynamicConfig' annotation, the simplest solution, ever. English 简体

Joey Yang 28 Sep 14, 2021
FIDO2(WebAuthn) server officially certified by FIDO Alliance and Relying Party examples.

Overview FIDO (Fast IDentity Online) is an open standard for online authentication. It is designed to solve the password problems stemming from a lot

LINE 267 Sep 10, 2021
Official Elasticsearch Java Client

Elasticsearch Java Client The official Java client for Elasticsearch. Note: this project is still a work in progress. This client is meant to replace

elastic 40 Sep 7, 2021
A backend for Asciidoctor used to produce Spring styled HTML

Asciidoctor Spring Backends Alternative HTML conversion for Asciidoctor with a Spring "look and feel". Maven build integration You can use the Asciido

Spring IO 23 Aug 24, 2021
Live video out from your DJI FPV Goggles via USB.

DigiView is an Android app that allows you to get a live preview from your DJI FPV Goggles (V1 & V2). Working with Android 7+ and devices supporting U

Fpv Out Club 157 Sep 10, 2021
This Web Application Allows A user to upload a two minutes Video. It uses Server Side Capabilities of Nodejs and Spring Boot .

VideoStreamingApplication Purpose Of This Application These days trend of short videos are on rise youtube recently realsed "Shorts" . So , taking ins

Prateek Kumar 47 Jul 27, 2021
NotEnoughEnergistics is a port of Just Enough Energistics to Minecraft 1.7.10

中文 Not Enough Energistics NotEnoughEnergistics is a port of Just Enough Energistics to Minecraft 1.7.10 This mod replaces AE2's default NEI integratio

vfyjxf 6 Sep 11, 2021
Rewrite of the dataconverter system for performance.

DataConverter This mod completely rewrites the dataconverter system for Minecraft. Please note that this fabric mod is not to be used. It is published

null 23 Sep 1, 2021
Phobos 1.9.0 Clean Buildable SRC.

[CLEAN] Phobos 1.9.0 Buildable SRC & Release This source has been checked by two people, myself and a friend. My friend did not find anything as he br

Hqrion 51 Aug 26, 2021
This is the term project for level-1 term -2

Java-Fx-Term_Project This is the term project for level-1 term -2 . It's a server-client playerDatabase system for some clubs of EPL, although sign up

Kazi Istiak Toriqe 3 Aug 2, 2021
这是一个利用 Linux Crontab , Docker等方式实现哔哩哔哩(Bilibili)每日任务投币,点赞,分享视频,直播签到,银瓜子兑换硬币,漫画每日签到,简单配置即可每日轻松获取 65 经验值,快来和我一起成为 Lv6 吧~~~~

BILIBILI-HELPER 工具简介 这是一个利用 Linux Crontab ,云函数, Docker 等方式实现哔哩哔哩(Bilibili)每日任务投币,点赞,分享视频,直播签到,银瓜子兑换硬币,漫画每日签到,简单配置即可每日轻松获取 65 经验值,快来和我一起成为 Lv6 吧~~~~ 如果

Junzhou Liu 182 Sep 12, 2021
Spring Boot starter module for gRPC framework.

Spring Boot starter module for gRPC framework.

Michael Zhang 1.8k Mar 17, 2021
Spring Boot starter module for gRPC framework.

Spring Boot starter module for gRPC framework.

Michael Zhang 2.1k Sep 11, 2021
Two Spring-boot applications registering themselves to an spring-boot-admin-server application as separate clients for the purpose of monitoring and managing the clients

Spring-boot-admin implementation with 1 Server and 2 clients Creating a Server application to monitor and manage Spring boot applications (clients) un

null 5 Aug 28, 2021
An integration solution for Spring Cloud and Tencent middleware - Spring Cloud和腾讯中间件的集成方案

Spring Cloud Tencent English | 简体中文 Introduction Spring Cloud Tencent contains components distributed micro-service applications need during developin

Tencent 26 Sep 16, 2021