@madeagency/react-native-connection-alert
Displays an alert which stays open until the specified network request succeeds
Last updated 4 years ago by madeagency .
ISC · Original npm · Tarball · package.json
$ cnpm install @madeagency/react-native-connection-alert 
SYNC missed versions from official npm registry.

react-native-connection-alert

Displays an alert which stays open until the specified network request succeeds

Installation

npm install --save @madeagency/react-native-connection-alert

Usage

Create a development config with Babel support, dev server, HMR and PostCSS autoprefixer:

import ConnectionAlert from '@madeagency/react-native-connection-alert'

async function fetchWhenConnected(input: string, init: any) {
  try {
    return await fetch(...arguments)
  } catch(error) {
    return await ConnectionAlert.fetch(...arguments)
  }
}

Current Tags

  • 1.0.12                                ...           latest (3 years ago)

13 Versions

  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 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.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 0
Last Month 5
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |