原创 MacOS空間清理

Mac電腦現在都用SSD硬盤,速度超快用起來很爽,但價格貴,同樣價格下容量比傳統硬盤低很多,因此用不了多久就開始捉襟見肘。尤其對於開發者來說,Xcode經常升級,每次升級後舊的模擬器、系統文件、項目緩存文件都不會自動刪除,結果就是沒用的文

原创 iOS項目編譯錯誤:resource fork, Finder information, or similar detritus not allowed

這種問題是資源屬性異常,蘋果官方的推薦解決方案是: Solution 1: Apple Developer Website Answers above problem Here. 從 Terminal 進入項目目錄,運行以下命令: x

原创 asar文件的生成和解壓

1. 安裝asar npm install -g asar 2. 壓縮文件 asar pack <dir> <dir.asar> 3. 解壓文件 asar extract <dir.asar> <dir>  

原创 MacOS設定某類文件的默認打開程序

MacOS裏經常需要設定某類文件的默認打開程序,下面是設置步驟。 右鍵點文件打開Get Info -> Open with 那一欄選擇打開程序 -> 點擊 Change All按鈕。  

原创 macOS無法驗證此App不包含惡意軟件

這個問題導致安卓native 編譯時卡死,無法繼續編譯。 解決方法時禁用此驗證功能: sudo spctl --master-disable  

原创 firebase database limit

Realtime Database LimitsThe following are restrictions on data storage and operations in Firebase Realtime Database. To

原创 Firebase Database setup

Installation & Setup on iOSThe Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchr

原创 Firebase Login - Facebook Sign-in

Authenticate Using Facebook Login on iOSYou can let your users authenticate with Firebase using their Facebook accounts

原创 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 FI

原创 firebase invites: send and receive

Send and Receive Firebase Invites from Your iOS AppPrerequisitesFirebase Invites requires iOS 8 or newer. You can targe

原创 firebase database: secure your data

Secure Your DataFirebase Database Rules are declarative configuration for your database. This means that the rules are

原创 firebase database - offline access

[FIRDatabase database].persistenceEnabled = YES;Persistence BehaviorBy enabling persistence, any data that the Firebase

原创 understanding firebase database billing

Understand Realtime Database BillingFirebase bills for the data you store in your database and all outbound network tra

原创 firestore pricing model

Cloud Firestore PricingThis document explains Cloud Firestore pricing details. It also tells you how to limit and monit

原创 best practice of data structure of firebase database

Structure Your DatabaseThis guide covers some of the key concepts in data architecture and best practices for structuri