firebase
我行我素2018
TO BE OR NOT TO BE。
土鳖或者不是土鳖。
展开
-
firestore: storage size calculations
Storage Size CalculationsThis page describes the storage size of documents, document names, fields, and index entries in Cloud Firestore.You can learn about the costs of this storage at Cloud Firestor...转载 2018-03-03 09:26:12 · 370 阅读 · 0 评论 -
firestore data structure
Choose a Data StructureRemember, when you structure your data in Cloud Firestore, you have a few different options: documents, multiple collections, and subcollections within documents. Consider the a...转载 2018-03-03 09:18:20 · 436 阅读 · 0 评论 -
Cloud Firestore data model
Cloud Firestore Data ModelCloud Firestore is a NoSQL, document-oriented database. Unlike a SQL database, there are no tables or rows. Instead, you store data in documents, which are organized into col...转载 2018-03-03 09:17:44 · 263 阅读 · 0 评论 -
Get started with cloud firestore
Get Started with Cloud FirestoreThis quickstart shows you how to set up Cloud Firestore, add data, then view the data you just added in the Firebase console.Create a Cloud Firestore projectOpen the Fi...转载 2018-03-03 09:08:46 · 379 阅读 · 0 评论 -
do A/B test with firebase remote config
Create Firebase Remote Config Experiments with A/B TestingWhen you are updating your app and using Firebase Remote Config to push it to an application with an active user base, you want to make sure y...转载 2018-03-03 09:05:52 · 476 阅读 · 0 评论 -
firebase: set user properties
Set User PropertiesUser properties are attributes you define to describe segments of your user base, such as language preference or geographic location.Analytics automatically logs some user propertie...转载 2018-03-03 09:03:11 · 481 阅读 · 0 评论 -
use firebase remote config
Use Firebase Remote Config on iOSYou can use Firebase Remote Config to define parameters in your app and update their values in the cloud, allowing you to modify the appearance and behavior of your ap...转载 2018-03-03 07:20:08 · 625 阅读 · 0 评论 -
receive dynamic links on iOS
Receive Dynamic Links on iOSTo receive the Firebase Dynamic Links that you created, you must include the Dynamic Links SDK in your app and call thehandleUniversalLink: and dynamicLinkFromCustomSchemeU...转载 2018-03-03 07:19:34 · 363 阅读 · 0 评论 -
create firebase dynamic links
Create Dynamic Links on iOSTo create Firebase Dynamic Links, include the Dynamic Links SDK in your app and use theFIRDynamicLinkComponents.url parameter.PrerequisitesFirebase Dynamic Links requires iO...转载 2018-03-03 07:18:55 · 1072 阅读 · 0 评论 -
firebase invites: send and receive
Send and Receive Firebase Invites from Your iOS AppPrerequisitesFirebase Invites requires iOS 8 or newer. You can target iOS 7 in your app, but all Firebase Invites SDK calls will be no-ops if the app...转载 2018-03-03 07:18:07 · 436 阅读 · 0 评论 -
firestore data types
Supported Data TypesThis page describes the data types that Cloud Firestore supports.Data typesData typeSort orderNotesArrayNoneCannot contain another array value.Booleanfalse < true—BytesByte orde...转载 2018-03-03 09:18:47 · 264 阅读 · 0 评论 -
firestore: add data
Add Data to Cloud FirestoreThere are several ways to write data to Cloud Firestore:Set the data of a document within a collection, explicitly specifying a document identifier.Add a new document to a c...转载 2018-03-03 09:19:22 · 349 阅读 · 0 评论 -
firestore: enable offline data
Enable Offline DataCloud Firestore supports offline data persistence. This feature caches a copy of the Cloud Firestore data that your app is actively using, so your app can access the data when the d...转载 2018-03-03 09:25:19 · 411 阅读 · 0 评论 -
firestore: manage indexes
Manage Indexes in Cloud FirestoreCloud Firestore requires an index for every query, to ensure the best performance. All document fields are automatically indexed, so queries that only use equality cla...转载 2018-03-03 09:24:22 · 288 阅读 · 0 评论 -
firestore: paginate data with query cursors
Paginate Data with Query CursorsWith query cursors in Cloud Firestore, you can split data returned by a query into batches according to the parameters you define in your query.Query cursors define the...转载 2018-03-03 09:23:26 · 330 阅读 · 0 评论 -
firestore: order and limit data
Order and Limit Data with Cloud FirestoreCloud Firestore provides powerful query functionality for specifying which documents you want to retrieve from a collection. These queries can also be used wit...转载 2018-03-03 09:22:50 · 286 阅读 · 0 评论 -
firestore: query data
Perform Simple and Compound Queries in Cloud FirestoreCloud Firestore provides powerful query functionality for specifying which documents you want to retrieve from a collection. These queries can als...转载 2018-03-03 09:22:10 · 322 阅读 · 0 评论 -
firestore: get realtime updates
Get Realtime Updates with Cloud FirestoreYou can listen to a document with the onSnapshot() method. An initial call using the callback you provide creates a document snapshot immediately with the curr...转载 2018-03-03 09:21:37 · 415 阅读 · 0 评论 -
firestore: get data
Get Data with Cloud FirestoreThere are two ways to retrieve data stored in Cloud Firestore. Either of these methods can be used with documents, collections of documents, or the results of queries:Call...转载 2018-03-03 09:21:05 · 371 阅读 · 0 评论 -
firestore: delete data
Delete Data from Cloud FirestoreTo delete a document, use the delete() method:WEBSWIFTOBJECTIVE-CANDROIDJAVAPYTHONMORE[[[self.db collectionWithPath:@"cities"] documentWithPath:@"DC"] deleteDocument...转载 2018-03-03 09:20:30 · 332 阅读 · 0 评论 -
firestore: transactions and batch writes
Transactions and Batched WritesCloud Firestore supports atomic operations for reading and writing data. In a set of atomic operations, either all of the operations succeed, or none of them are applied...转载 2018-03-03 09:19:58 · 329 阅读 · 0 评论 -
firebase database: Extend realtime database with cloud functions
Extend Realtime Database with Cloud FunctionsWith Cloud Functions, you can handle events in the Firebase Realtime Database with no need to update client code. Cloud Functions lets you run database ope...转载 2018-03-03 07:17:04 · 219 阅读 · 0 评论 -
firebase database: scale with multiple databases
Scale with Multiple DatabasesThe best way to optimize performance and scale your data in Firebase Realtime Database is to split your data across multiple Realtime Database instances, also known as dat...转载 2018-03-03 07:16:19 · 213 阅读 · 0 评论 -
firebase database: index your data
Index Your DataFirebase allows you to do ad-hoc queries on your data using an arbitrary child key. If you know in advance what your indexes will be, you can define them via the .indexOn rule in your F...转载 2018-03-03 07:15:38 · 184 阅读 · 0 评论 -
Firebase Database Structure
Structure Your DatabaseThis guide covers some of the key concepts in data architecture and best practices for structuring the JSON data in your Firebase Realtime Database.Building a properly structure...转载 2018-02-28 09:27:43 · 287 阅读 · 0 评论 -
Firebase Database setup
Installation & Setup on iOSThe Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform a...转载 2018-02-28 09:17:38 · 292 阅读 · 0 评论 -
Firebase Login - Facebook Sign-in
Authenticate Using Facebook Login on iOSYou can let your users authenticate with Firebase using their Facebook accounts by integrating Facebook Login into your app.Before you beginAdd Firebase to your...转载 2018-02-28 09:16:52 · 3943 阅读 · 0 评论 -
firebaseUI - google sign-in
Authenticate Using Google Sign-In on iOSYou can let your users authenticate with Firebase using their Google Accounts by integrating Google Sign-In into your app.Before you beginAdd Firebase to your i...转载 2018-02-28 09:16:15 · 1289 阅读 · 0 评论 -
firebaseUI - manage users
转载方便查阅。Manage Users in FirebaseCreate a userYou create a new user in your Firebase project by calling thecreateUserWithEmail:password:completion: method or by signing in a user for the first time usin...转载 2018-02-28 09:15:29 · 189 阅读 · 0 评论 -
firebaseUI - get started
转载方便查阅。Get Started with Firebase Authentication on iOSYou can use Firebase Authentication to allow users to sign in to your app using one or more sign-in methods, including email address and password ...转载 2018-02-28 09:14:31 · 345 阅读 · 0 评论 -
firebaseUI - introduction
转载方便查阅。有一点要注意:如果遇到以下链接错误:ld: framework not found FBSDKLoginKit for architecture x86_64需要在Podfile里增加这一行来解决:use_frameworks!Easily add sign-in to your iOS app with FirebaseUIFirebaseUI is a library built...转载 2018-02-28 09:13:41 · 478 阅读 · 0 评论 -
firebase messaging - topic messaging on iOS
转载方便查阅。Topic Messaging on iOSBased on the publish/subscribe model, FCM topic messaging allows you to send a message to multiple devices that have opted in to a particular topic. You compose topic mess...转载 2018-02-28 09:11:33 · 857 阅读 · 0 评论 -
Firebase Messaging - Receive Messages in an iOS App
转载需要翻墙看的文档,方便查阅。Receive Messages in an iOS AppOnce your client app is installed on a device, it can receive messages through the FCM APNs interface. You can immediately start sending notifications to ...转载 2018-02-28 09:09:28 · 574 阅读 · 0 评论 -
firebase database read and write
Read and Write Data on iOSGet a FIRDatabaseReferenceTo read or write data from the database, you need an instance of FIRDatabaseReference:SWIFTOBJECTIVE-C@property (strong, nonatomic) FIRDatabaseRefer...转载 2018-02-28 10:32:23 · 267 阅读 · 0 评论 -
firebase database - work with lists
Work with Lists of Data on iOSGet a FIRDatabaseReferenceTo read or write data from the database, you need an instance of FIRDatabaseReference:SWIFTOBJECTIVE-C@property (strong, nonatomic) FIRDatabaseR...转载 2018-02-28 11:00:40 · 240 阅读 · 0 评论 -
firebase database: user based security
User Based SecurityThis document revisits concepts from Securing Your Data, incorporating the predefined auth variable to create a complete solution for securing our data.Integrating AuthenticationFir...转载 2018-03-03 07:14:55 · 425 阅读 · 0 评论 -
firebase database: secure your data
Secure Your DataFirebase Database Rules are declarative configuration for your database. This means that the rules are defined separately from the product logic. This has a number of advantages: clien...转载 2018-03-03 07:13:55 · 335 阅读 · 0 评论 -
get started with database rules
Get Started with Database RulesThe Firebase Realtime Database provides a flexible, expression-based rules language with JavaScript-like syntax to easily define how your data should be structured, how ...转载 2018-03-03 07:13:22 · 174 阅读 · 0 评论 -
understand firebase realtime database rules
Understand Firebase Realtime Database RulesFirebase Realtime Database Rules determine who has read and write access to your database, how your data is structured, and what indexes exist. These rules l...转载 2018-03-03 07:11:25 · 393 阅读 · 0 评论 -
firebase database limit
Realtime Database LimitsThe following are restrictions on data storage and operations in Firebase Realtime Database. To scale beyond any of these limits, use multiple databases.GlobalOperationLimitDes...转载 2018-03-03 07:08:17 · 179 阅读 · 0 评论