2017-04-27 11:18:12 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
2017-08-26 02:59:48 +00:00
|
|
|
|
<title>React Native Firebase - A react native firebase library supporting both android and ios native firebase
|
|
|
|
|
SDK's</title>
|
|
|
|
|
<meta name="description"
|
|
|
|
|
content="A react native firebase library supporting both android and ios native firebase SDK's">
|
|
|
|
|
<meta name="viewport"
|
|
|
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
|
|
|
<link rel="shortcut icon" type="image/png"
|
|
|
|
|
href="https://camo.githubusercontent.com/6c827e5a0bb91259f82a1f4923ab7efa4891b119/687474703a2f2f692e696d6775722e636f6d2f303158514c30782e706e67" />
|
2017-04-27 11:18:12 +00:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2017-08-26 02:59:48 +00:00
|
|
|
|
<div class="rnfirebase-header">
|
|
|
|
|
<img src="https://static.invertase.io/assets/React-Native-Firebase.svg" alt="rnfirebase logo">
|
2017-08-26 04:14:29 +00:00
|
|
|
|
<span><a href="/react-native-firebase">React Native Firebase</a></span>
|
2017-08-26 02:59:48 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div id="app"></div>
|
2017-04-27 11:18:12 +00:00
|
|
|
|
</body>
|
|
|
|
|
<script>
|
|
|
|
|
window.$docsify = {
|
2017-08-11 16:20:10 +00:00
|
|
|
|
name: 'React Native Firebase - Documentation',
|
2017-04-27 11:18:12 +00:00
|
|
|
|
repo: 'https://github.com/invertase/react-native-firebase',
|
|
|
|
|
loadSidebar: true,
|
2017-08-11 16:20:10 +00:00
|
|
|
|
loadNavbar: true,
|
|
|
|
|
mergeNavbar: true,
|
2017-04-27 11:18:12 +00:00
|
|
|
|
search: 'auto',
|
2017-08-26 02:59:48 +00:00
|
|
|
|
themeColor: '#e88634',
|
2017-07-05 08:15:05 +00:00
|
|
|
|
subMaxLevel: 3,
|
2017-04-27 11:18:12 +00:00
|
|
|
|
maxLevel: 4,
|
2017-04-28 15:59:34 +00:00
|
|
|
|
ga: 'UA-98196653-1',
|
2017-08-11 16:20:10 +00:00
|
|
|
|
formatUpdated: '{DD}/{MM}/{YYYY} {HH}:{mm}',
|
2017-04-27 11:18:12 +00:00
|
|
|
|
plugins: [
|
2017-08-26 02:59:48 +00:00
|
|
|
|
function (hook, vm) {
|
2017-08-11 16:20:10 +00:00
|
|
|
|
hook.beforeEach(function (html) {
|
|
|
|
|
var url = 'https://github.com/invertase/react-native-firebase/blob/master/docs/' + vm.route.file;
|
2017-08-26 04:44:03 +00:00
|
|
|
|
var editHtml = '[:memo: Edit me on Github](' + url + ')\n';
|
2017-08-26 02:59:48 +00:00
|
|
|
|
return html
|
2017-08-11 16:20:10 +00:00
|
|
|
|
+ '\n----\n'
|
|
|
|
|
+ '<b>Last updated</b>: {docsify-updated} '
|
|
|
|
|
+ editHtml
|
2017-04-27 11:18:12 +00:00
|
|
|
|
})
|
|
|
|
|
}
|
2017-08-11 16:20:10 +00:00
|
|
|
|
],
|
2017-04-27 11:18:12 +00:00
|
|
|
|
}
|
|
|
|
|
</script>
|
2017-05-02 08:56:54 +00:00
|
|
|
|
<script>
|
|
|
|
|
if (typeof navigator.serviceWorker !== 'undefined') {
|
|
|
|
|
navigator.serviceWorker.register('sw.js')
|
|
|
|
|
}
|
|
|
|
|
</script>
|
2017-08-26 02:59:48 +00:00
|
|
|
|
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
|
|
|
|
|
<style>
|
2017-08-26 03:56:34 +00:00
|
|
|
|
.markdown-section pre>code {
|
|
|
|
|
background: #383838;
|
|
|
|
|
}
|
|
|
|
|
.markdown-section pre {
|
|
|
|
|
background: #383838;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
code[class*="lang-"],
|
|
|
|
|
pre[class*="lang-"] {
|
|
|
|
|
color: white !important;
|
|
|
|
|
background: none !important;
|
|
|
|
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace !important;
|
|
|
|
|
text-align: left !important;
|
|
|
|
|
text-shadow: 0 -.1em .2em black !important;
|
|
|
|
|
white-space: pre !important;
|
|
|
|
|
word-spacing: normal !important;
|
|
|
|
|
word-break: normal !important;
|
|
|
|
|
word-wrap: normal !important;
|
|
|
|
|
line-height: 1.5 !important;
|
|
|
|
|
|
|
|
|
|
-moz-tab-size: 4 !important;
|
|
|
|
|
-o-tab-size: 4 !important;
|
|
|
|
|
tab-size: 4 !important;
|
|
|
|
|
|
|
|
|
|
-webkit-hyphens: none !important;
|
|
|
|
|
-moz-hyphens: none !important;
|
|
|
|
|
-ms-hyphens: none !important;
|
|
|
|
|
hyphens: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pre[class*="lang-"],
|
|
|
|
|
:not(pre) > code[class*="lang-"] {
|
|
|
|
|
background: hsl(0, 0%, 8%) !important; /* #141414 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Code blocks */
|
|
|
|
|
pre[class*="lang-"] {
|
|
|
|
|
border-radius: .5em !important;
|
|
|
|
|
border: .3em solid hsl(0, 0%, 33%) !important; /* #282A2B */
|
|
|
|
|
box-shadow: 1px 1px .5em black inset !important;
|
|
|
|
|
margin: .5em 0 !important;
|
|
|
|
|
overflow: auto !important;
|
|
|
|
|
padding: 1em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pre[class*="lang-"]::-moz-selection {
|
|
|
|
|
/* Firefox */
|
|
|
|
|
background: hsl(200, 4%, 16%) !important; /* #282A2B */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pre[class*="lang-"]::selection {
|
|
|
|
|
/* Safari */
|
|
|
|
|
background: hsl(200, 4%, 16%) !important; /* #282A2B */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Text Selection colour */
|
|
|
|
|
pre[class*="lang-"]::-moz-selection, pre[class*="lang-"] ::-moz-selection,
|
|
|
|
|
code[class*="lang-"]::-moz-selection, code[class*="lang-"] ::-moz-selection {
|
|
|
|
|
text-shadow: none !important;
|
|
|
|
|
background: hsla(0, 0%, 93%, 0.15) !important; /* #EDEDED */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pre[class*="lang-"]::selection, pre[class*="lang-"] ::selection,
|
|
|
|
|
code[class*="lang-"]::selection, code[class*="lang-"] ::selection {
|
|
|
|
|
text-shadow: none !important;
|
|
|
|
|
background: hsla(0, 0%, 93%, 0.15) !important; /* #EDEDED */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Inline code */
|
|
|
|
|
:not(pre) > code[class*="lang-"] {
|
|
|
|
|
border-radius: .3em !important;
|
|
|
|
|
border: .13em solid hsl(0, 0%, 33%) !important; /* #545454 */
|
|
|
|
|
box-shadow: 1px 1px .3em -.1em black inset !important;
|
|
|
|
|
padding: .15em .2em .05em !important;
|
|
|
|
|
white-space: normal !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.comment,
|
|
|
|
|
.token.prolog,
|
|
|
|
|
.token.doctype,
|
|
|
|
|
.token.cdata {
|
|
|
|
|
color: hsl(0, 0%, 58%) !important; /* #777777 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.punctuation {
|
|
|
|
|
opacity: .7 !important;
|
|
|
|
|
color: #ffffff !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.namespace {
|
|
|
|
|
opacity: .7 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.tag,
|
|
|
|
|
.token.boolean,
|
|
|
|
|
.token.number,
|
|
|
|
|
.token.deleted {
|
|
|
|
|
color: hsl(14, 58%, 55%) !important; /* #CF6A4C */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.keyword,
|
|
|
|
|
.token.property,
|
|
|
|
|
.token.selector,
|
|
|
|
|
.token.constant,
|
|
|
|
|
.token.symbol,
|
|
|
|
|
.token.builtin {
|
|
|
|
|
color: hsl(27, 80%, 56%) !important; /* #F9EE98 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.attr-name,
|
|
|
|
|
.token.attr-value,
|
|
|
|
|
.token.string,
|
|
|
|
|
.token.char,
|
|
|
|
|
.token.operator,
|
|
|
|
|
.token.entity,
|
|
|
|
|
.token.url,
|
|
|
|
|
.lang-css .token.string,
|
|
|
|
|
.style .token.string,
|
|
|
|
|
.token.variable,
|
|
|
|
|
.token.inserted {
|
|
|
|
|
color: hsl(37, 100%, 80%) !important; /* #8F9D6A */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.atrule {
|
|
|
|
|
color: hsl(218, 22%, 55%) !important; /* #7587A6 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.regex,
|
|
|
|
|
.token.important {
|
|
|
|
|
color: hsl(42, 75%, 65%) !important; /* #E9C062 */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.important,
|
|
|
|
|
.token.bold {
|
|
|
|
|
font-weight: bold !important;
|
|
|
|
|
}
|
|
|
|
|
.token.italic {
|
|
|
|
|
font-style: italic !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.token.entity {
|
|
|
|
|
cursor: help !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pre[data-line] {
|
|
|
|
|
padding: 1em 0 1em 3em !important;
|
|
|
|
|
position: relative !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Markup */
|
|
|
|
|
.language-markup .token.tag,
|
|
|
|
|
.language-markup .token.attr-name,
|
|
|
|
|
.language-markup .token.punctuation {
|
|
|
|
|
color: hsl(33, 33%, 52%) !important; /* #AC885B */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Make the tokens sit above the line highlight so the colours don't look faded. */
|
|
|
|
|
.token {
|
|
|
|
|
position: relative !important;
|
|
|
|
|
z-index: 1 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line-highlight {
|
|
|
|
|
background: hsla(0, 0%, 33%, 0.25) !important; /* #545454 */
|
|
|
|
|
background: linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0)) !important; /* #545454 */
|
|
|
|
|
border-bottom: 1px dashed hsl(0, 0%, 33%) !important; /* #545454 */
|
|
|
|
|
border-top: 1px dashed hsl(0, 0%, 33%) !important; /* #545454 */
|
|
|
|
|
left: 0 !important;
|
|
|
|
|
line-height: inherit !important;
|
|
|
|
|
margin-top: 0.75em !important; /* Same as .prism’s padding-top */
|
|
|
|
|
padding: inherit 0 !important;
|
|
|
|
|
pointer-events: none !important;
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
right: 0 !important;
|
|
|
|
|
white-space: pre !important;
|
|
|
|
|
z-index: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line-highlight:before,
|
|
|
|
|
.line-highlight[data-end]:after {
|
|
|
|
|
background-color: hsl(215, 15%, 59%) !important; /* #8794A6 */
|
|
|
|
|
border-radius: 999px !important;
|
|
|
|
|
box-shadow: 0 1px white !important;
|
|
|
|
|
color: hsl(24, 20%, 95%) !important; /* #F5F2F0 */
|
|
|
|
|
content: attr(data-start) !important;
|
|
|
|
|
font: bold 65%/1.5 sans-serif !important;
|
|
|
|
|
left: .6em !important;
|
|
|
|
|
min-width: 1em !important;
|
|
|
|
|
padding: 0 .5em !important;
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
text-align: center !important;
|
|
|
|
|
text-shadow: none !important;
|
|
|
|
|
top: .4em !important;
|
|
|
|
|
vertical-align: .3em !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.line-highlight[data-end]:after {
|
|
|
|
|
bottom: .4em !important;
|
|
|
|
|
content: attr(data-end) !important;
|
|
|
|
|
top: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-26 02:59:48 +00:00
|
|
|
|
body {
|
|
|
|
|
padding-top: 35px;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-26 03:56:34 +00:00
|
|
|
|
.section-link:hover {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-26 02:59:48 +00:00
|
|
|
|
.app-name-link {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
|
padding-top: 64px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.github-corner {
|
|
|
|
|
height: 64px;
|
|
|
|
|
z-index: 9996;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-nav {
|
|
|
|
|
z-index: 9996;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.github-corner > svg {
|
|
|
|
|
height: 64px;
|
|
|
|
|
width: 64px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rnfirebase-header {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 64px;
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
background: #383838;
|
|
|
|
|
z-index: 9995;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rnfirebase-header > img {
|
|
|
|
|
float: left;
|
|
|
|
|
width: 45px;
|
|
|
|
|
height: 45px;
|
|
|
|
|
margin: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.version-select {
|
|
|
|
|
position: fixed;
|
|
|
|
|
right: 70px;
|
|
|
|
|
top: 13px;
|
|
|
|
|
background: rgb(255, 235, 213);
|
|
|
|
|
padding: 8px;
|
|
|
|
|
border: 1px solid #e88634;
|
|
|
|
|
width: 110px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rnfirebase-header > span {
|
|
|
|
|
float: left;
|
|
|
|
|
height: 64px;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
line-height: 64px;
|
|
|
|
|
color: #e88634;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
2017-08-26 03:56:34 +00:00
|
|
|
|
a:-webkit-any-link:hover {
|
|
|
|
|
text-decoration:none !important;
|
|
|
|
|
transform: scale(1.05);
|
|
|
|
|
}
|
2017-08-26 02:59:48 +00:00
|
|
|
|
.rnfirebase-header > span > a {
|
|
|
|
|
border:none;
|
|
|
|
|
outline:none;
|
|
|
|
|
text-decoration:none;
|
|
|
|
|
color:inherit;
|
|
|
|
|
-webkit-tap-highlight-color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-toggle {
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.92);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.app-nav li ul {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
|
border-bottom-color: #ccc;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
display: none;
|
|
|
|
|
max-height: calc(100vh - 61px);
|
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
padding: 10px 0;
|
2017-08-26 04:14:29 +00:00
|
|
|
|
position: fixed;
|
|
|
|
|
right: 70px;
|
2017-08-26 02:59:48 +00:00
|
|
|
|
text-align: left;
|
2017-08-26 04:14:29 +00:00
|
|
|
|
top: 50px;
|
2017-08-26 02:59:48 +00:00
|
|
|
|
white-space: nowrap;
|
2017-08-26 03:56:34 +00:00
|
|
|
|
width: 110px;
|
2017-08-26 02:59:48 +00:00
|
|
|
|
}
|
|
|
|
|
</style>
|
2017-04-27 11:18:12 +00:00
|
|
|
|
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
|
|
|
|
|
<script src="//unpkg.com/docsify/lib/plugins/search.js"></script>
|
|
|
|
|
<script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script>
|
|
|
|
|
<script src="//unpkg.com/docsify/lib/plugins/ga.min.js"></script>
|
|
|
|
|
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
|
2017-08-26 03:56:34 +00:00
|
|
|
|
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
|
2017-04-27 11:18:12 +00:00
|
|
|
|
<script src="//unpkg.com/prismjs/components/prism-javascript.min.js"></script>
|
2017-05-02 08:56:54 +00:00
|
|
|
|
<script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>
|
2017-08-26 03:56:34 +00:00
|
|
|
|
<script src="//unpkg.com/prismjs/components/prism-ruby.min.js"></script>
|
|
|
|
|
<script src="//unpkg.com/prismjs/components/prism-c.min.js"></script>
|
|
|
|
|
<script src="//unpkg.com/prismjs/components/prism-objectivec.min.js"></script>
|
2017-05-02 08:56:54 +00:00
|
|
|
|
<script src="//unpkg.com/prismjs/components/prism-swift.min.js"></script>
|
|
|
|
|
<script src="//unpkg.com/prismjs/components/prism-objectivec.min.js"></script>
|
2017-04-27 11:18:12 +00:00
|
|
|
|
</html>
|