402 lines
10 KiB
HTML
402 lines
10 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<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="./icon.png" />
|
||
</head>
|
||
<body>
|
||
<div class="rnfirebase-header">
|
||
<img src="https://static.invertase.io/assets/React-Native-Firebase.svg" alt="rnfirebase logo">
|
||
<span><a href="./">React Native Firebase</a></span>
|
||
</div>
|
||
<div id="app"></div>
|
||
</body>
|
||
<script>
|
||
window.$docsify = {
|
||
name: 'React Native Firebase - Documentation',
|
||
repo: 'https://github.com/invertase/react-native-firebase',
|
||
loadSidebar: true,
|
||
loadNavbar: true,
|
||
mergeNavbar: true,
|
||
search: 'auto',
|
||
themeColor: '#e88634',
|
||
subMaxLevel: 3,
|
||
maxLevel: 4,
|
||
ga: 'UA-98196653-1',
|
||
formatUpdated: '{DD}/{MM}/{YYYY} {HH}:{mm}',
|
||
plugins: [
|
||
function (hook, vm) {
|
||
hook.beforeEach(function (html) {
|
||
var url = 'https://github.com/invertase/react-native-firebase/blob/master/docs/' + vm.route.file;
|
||
var editHtml = '[:memo: Edit me on Github](' + url + ')\n';
|
||
return html
|
||
+ '\n----\n'
|
||
+ '<b>Last updated</b>: {docsify-updated} '
|
||
+ editHtml
|
||
})
|
||
}
|
||
],
|
||
}
|
||
</script>
|
||
<script>
|
||
if (typeof navigator.serviceWorker !== 'undefined') {
|
||
navigator.serviceWorker.register('sw.js')
|
||
}
|
||
</script>
|
||
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
|
||
<style>
|
||
.markdown-section pre>code {
|
||
background: #383838;
|
||
}
|
||
.markdown-section pre {
|
||
background: #383838;
|
||
}
|
||
|
||
hr {
|
||
display: block;
|
||
height: 1px;
|
||
border: 0;
|
||
border-top: 1px solid #e8e8e8;
|
||
margin: 1em 0;
|
||
padding: 0;
|
||
}
|
||
|
||
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;
|
||
}
|
||
|
||
body {
|
||
padding-top: 45px;
|
||
}
|
||
|
||
.section-link:hover {
|
||
text-decoration: none;
|
||
}
|
||
|
||
.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;
|
||
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
|
||
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
|
||
}
|
||
|
||
pre {
|
||
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
||
}
|
||
|
||
.warn {
|
||
box-shadow: 0 1px 2px rgba(0,0,0,0.16), 0 1px 2px rgba(0,0,0,0.23);
|
||
}
|
||
|
||
.tip {
|
||
box-shadow: 0 1px 2px rgba(200,0,0,0.16), 0 1px 2px rgba(0,0,0,0.23);
|
||
}
|
||
|
||
code {
|
||
box-shadow: 0 1px 2px rgba(0,0,0,0.09), 0 1px 2px rgba(0,0,0,0.13);
|
||
}
|
||
|
||
li > a > code {
|
||
box-shadow: none;
|
||
}
|
||
.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;
|
||
}
|
||
a:-webkit-any-link:hover {
|
||
text-decoration:none !important;
|
||
margin-left: 3px;
|
||
}
|
||
.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;
|
||
position: fixed;
|
||
right: 70px;
|
||
text-align: left;
|
||
top: 50px;
|
||
white-space: nowrap;
|
||
width: 110px;
|
||
}
|
||
</style>
|
||
<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>
|
||
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
|
||
<script src="//unpkg.com/prismjs/components/prism-javascript.min.js"></script>
|
||
<script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>
|
||
<script src="//unpkg.com/prismjs/components/prism-ruby.min.js"></script>
|
||
<script src="//unpkg.com/prismjs/components/prism-groovy.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>
|
||
<script src="//unpkg.com/prismjs/components/prism-swift.min.js"></script>
|
||
<script src="//unpkg.com/prismjs/components/prism-objectivec.min.js"></script>
|
||
</html>
|