1.2.1 ā€¢ Published 24 days ago

uri-scheme v1.2.1

Weekly downloads
1,897
License
MIT
Repository
github
Last release
24 days ago

This package provides a simple interface for modifying, viewing, and testing a project's native URI schemes.

šŸ‘‹ Notice: This package is not limited to Expo projects! You can use it with any iOS, or Android project.

šŸ¤” Why?

We created uri-scheme to make it easier to setup, test, and modify deep links, and authentication in native apps.

šŸš€ Usage

CLI

# Usage
npx uri-scheme [options] [command]

# View all URIs for a project
npx uri-scheme list

# Open a URI in a simulator
npx uri-scheme open <uri> --ios

# Add a URI to your project
npx uri-scheme add <uri>

Node

In order to make this package fast with npx we don't ship types or doc-blocks.

import { Android, Ios } from 'uri-scheme';

Ios.openAsync({ uri: 'http://expo.io/' });

āš™ļø Options

For more information run npx uri-scheme --help (or -h)

OptionsDescription
-V, --versionoutput the version number
-h, --helpoutput usage information

add

Add URI schemes to a native app.

Options

OptionsDescription
-a, --androidApply action to Android
-i, --iosApply action to iOS
-n, --name <string>Name to use on iOS.
-r, --role <string>Role to use on iOS: Editor, Viewer
--manifest-path <string>Custom path to use for an Android project's AndroidManifest.xml
--info-path <string>Custom path to use for an iOS project's Info.plist
--dry-runView the proposed change
-h, --helpoutput usage information

Examples

  • uri-scheme add com.app
  • uri-scheme add myapp

remove

Remove URI schemes from a native app

Options

OptionsDescription
-a, --androidApply action to Android
-i, --iosApply action to iOS
--manifest-path <string>Custom path to use for an Android project's AndroidManifest.xml
--info-path <string>Custom path to use for an iOS project's Info.plist
--dry-runView the proposed change
-h, --helpoutput usage information

Examples

  • uri-scheme remove com.app
  • uri-scheme remove myapp

open

Open a URI scheme in a running simulator or emulator

Options

OptionsDescription
-a, --androidApply action to Android
-i, --iosApply action to iOS
--package <string>The Android package name to use when opening in an emulator
-h, --helpoutput usage information

Examples

  • uri-scheme open com.app://oauth --ios
  • uri-scheme open http://expo.io --android

list

List the existing URI scheme prefixes for a native app

Options:

OptionsDescription
-a, --androidApply action to Android
-i, --iosApply action to iOS
--manifest-path <string>Custom path to use for an Android project's AndroidManifest.xml
--info-path <string>Custom path to use for an iOS project's Info.plist
-h, --helpoutput usage information

License

The Expo source code is made available under the MIT license. Some of the dependencies are licensed differently, with the BSD license, for example.


1.2.1

24 days ago

1.2.0

5 months ago

1.1.0

1 year ago

1.0.121

2 years ago

1.0.120

2 years ago

1.0.118

2 years ago

1.0.117

2 years ago

1.0.119

2 years ago

1.0.116

2 years ago

1.0.115

2 years ago

1.0.107

2 years ago

1.0.109

2 years ago

1.0.108

2 years ago

1.0.110

2 years ago

1.0.112

2 years ago

1.0.111

2 years ago

1.0.114

2 years ago

1.0.113

2 years ago

1.0.106

2 years ago

1.0.103

3 years ago

1.0.105

2 years ago

1.0.104

2 years ago

1.0.100

3 years ago

1.0.102

3 years ago

1.0.99

3 years ago

1.0.98

3 years ago

1.0.96

3 years ago

1.0.95

3 years ago

1.0.94

3 years ago

1.0.93

3 years ago

1.0.92

3 years ago

1.0.91

3 years ago

1.0.90

3 years ago

1.0.89

3 years ago

1.0.88

3 years ago

1.0.87

3 years ago

1.0.86

3 years ago

1.0.85

3 years ago

1.0.84

3 years ago

1.0.83

3 years ago

1.0.82

3 years ago

1.0.81

3 years ago

1.0.77

3 years ago

1.0.76

3 years ago

1.0.75

3 years ago

1.0.74

3 years ago

1.0.79

3 years ago

1.0.78

3 years ago

1.0.80

3 years ago

1.0.73

3 years ago

1.0.72

3 years ago

1.0.71

3 years ago

1.0.70

3 years ago

1.0.69

3 years ago

1.0.68

3 years ago

1.0.68-alpha.0

3 years ago

1.0.67

3 years ago

1.0.66

3 years ago

1.0.66-alpha.0

3 years ago

1.0.65

3 years ago

1.0.64

3 years ago

1.0.63

3 years ago

1.0.62

3 years ago

1.0.61

3 years ago

1.0.61-alpha.0

3 years ago

1.0.60

3 years ago

1.0.60-alpha.0

3 years ago

1.0.59

3 years ago

1.0.58

3 years ago

1.0.57

3 years ago

1.0.56

3 years ago

1.0.55

3 years ago

1.0.54

3 years ago

1.0.53

3 years ago

1.0.52

3 years ago

1.0.51

3 years ago

1.0.50

3 years ago

1.0.49

3 years ago

1.0.48

3 years ago

1.0.47

3 years ago

1.0.46

4 years ago

1.0.45

4 years ago

1.0.44

4 years ago

1.0.43

4 years ago

1.0.42

4 years ago

1.0.41

4 years ago

1.0.40

4 years ago

1.0.39

4 years ago

1.0.38

4 years ago

1.0.37

4 years ago

1.0.36

4 years ago

1.0.35

4 years ago

1.0.34

4 years ago

1.0.33

4 years ago

1.0.32

4 years ago

1.0.31

4 years ago

1.0.30

4 years ago

1.0.29

4 years ago

1.0.28

4 years ago

1.0.27

4 years ago

1.0.26

4 years ago

1.0.25

4 years ago

1.0.24

4 years ago

1.0.23

4 years ago

1.0.22

4 years ago

1.0.21

4 years ago

1.0.19

4 years ago

1.0.20

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.9-alpha.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago