# epark-authentication-session

> epark authentication session - fork from SFAuthenticationSession - bug fix for react native 0.61.2

Latest version **0.1.1** (published 2019-11-13) · 0 weekly downloads

## Install

```sh
npm install epark-authentication-session
pnpm add epark-authentication-session
yarn add epark-authentication-session
bun add epark-authentication-session
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2019-11-13 |
| First published | 2019-11-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17 |
| Maintainers | magicime |
| Keywords | react-native, epark |

## Links

- npm: https://www.npmjs.com/package/epark-authentication-session
- Repository: https://github.com/JeandeCampredon/react-native-referrer
- Homepage: https://github.com/JeandeCampredon/react-native-referrer#readme
- Issues: https://github.com/JeandeCampredon/react-native-referrer/issues
- npm.io page: https://npm.io/package/epark-authentication-session

## Recent versions

- 0.1.1 (latest) — 2019-11-13

## README

# react-native-sf-authentication-session

## Getting started

`$ npm install react-native-sf-authentication-session --save`

### Mostly automatic installation

`$ react-native link react-native-sf-authentication-session`

### Manual installation


#### iOS

1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`
2. Go to `node_modules` ➜ `react-native-sf-authentication-session` and add `RNSFAuthenticationSession.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRNSFAuthenticationSession.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`
4. Run your project (`Cmd+R`)<


## Usage
```javascript
import RNSFAuthenticationSession from 'react-native-sf-authentication-session';

...
// The url you want to open with safari
const url = "http://my.webapp.com"
// The url your server will redirect you to
// hint - use a custom schema or universal link to immediatly get back to your app
const callbackUrl = "myapp://"
// The redirected url with query params containing private data
// ex - "myapp://token=mysecrettoken"
const finalUrl = await RNSFAuthenticationSession.getSafariData();
```

---
_Source: https://npm.io/package/epark-authentication-session · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
