2017-03-09 15:26:28 +00:00
|
|
|
#ifndef RNFirebaseEvents_h
|
|
|
|
#define RNFirebaseEvents_h
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
2017-09-21 15:48:54 +00:00
|
|
|
static NSString *const AUTH_CHANGED_EVENT = @"auth_state_changed";
|
|
|
|
static NSString *const AUTH_ID_TOKEN_CHANGED_EVENT = @"auth_id_token_changed";
|
2017-10-02 08:48:43 +00:00
|
|
|
static NSString *const PHONE_AUTH_STATE_CHANGED_EVENT = @"phone_auth_state_changed";
|
2017-03-09 15:26:28 +00:00
|
|
|
|
|
|
|
// Database
|
2017-08-16 20:39:05 +00:00
|
|
|
static NSString *const DATABASE_SYNC_EVENT = @"database_sync_event";
|
2017-03-25 00:59:27 +00:00
|
|
|
static NSString *const DATABASE_TRANSACTION_EVENT = @"database_transaction_event";
|
2017-03-09 15:26:28 +00:00
|
|
|
|
|
|
|
static NSString *const DATABASE_VALUE_EVENT = @"value";
|
|
|
|
static NSString *const DATABASE_CHILD_ADDED_EVENT = @"child_added";
|
|
|
|
static NSString *const DATABASE_CHILD_MODIFIED_EVENT = @"child_changed";
|
|
|
|
static NSString *const DATABASE_CHILD_REMOVED_EVENT = @"child_removed";
|
|
|
|
static NSString *const DATABASE_CHILD_MOVED_EVENT = @"child_moved";
|
|
|
|
|
2017-10-02 14:45:07 +00:00
|
|
|
// Firestore
|
|
|
|
static NSString *const FIRESTORE_COLLECTION_SYNC_EVENT = @"firestore_collection_sync_event";
|
|
|
|
static NSString *const FIRESTORE_DOCUMENT_SYNC_EVENT = @"firestore_document_sync_event";
|
|
|
|
|
2017-03-09 15:26:28 +00:00
|
|
|
// Storage
|
|
|
|
static NSString *const STORAGE_EVENT = @"storage_event";
|
|
|
|
static NSString *const STORAGE_ERROR = @"storage_error";
|
|
|
|
|
|
|
|
static NSString *const STORAGE_STATE_CHANGED = @"state_changed";
|
|
|
|
static NSString *const STORAGE_UPLOAD_SUCCESS = @"upload_success";
|
|
|
|
static NSString *const STORAGE_UPLOAD_FAILURE = @"upload_failure";
|
|
|
|
static NSString *const STORAGE_DOWNLOAD_SUCCESS = @"download_success";
|
|
|
|
static NSString *const STORAGE_DOWNLOAD_FAILURE = @"download_failure";
|
|
|
|
|
|
|
|
// Messaging
|
2017-05-30 07:26:40 +00:00
|
|
|
static NSString *const MESSAGING_TOKEN_REFRESHED = @"messaging_token_refreshed";
|
|
|
|
static NSString *const MESSAGING_NOTIFICATION_RECEIVED = @"messaging_notification_received";
|
2017-03-09 15:26:28 +00:00
|
|
|
|
2017-06-05 16:00:59 +00:00
|
|
|
// AdMob
|
|
|
|
static NSString *const ADMOB_INTERSTITIAL_EVENT = @"interstitial_event";
|
|
|
|
static NSString *const ADMOB_REWARDED_VIDEO_EVENT = @"rewarded_video_event";
|
|
|
|
|
2017-09-25 14:34:26 +00:00
|
|
|
// Links
|
|
|
|
static NSString *const LINKS_DYNAMIC_LINK_RECEIVED = @"dynamic_link_received";
|
|
|
|
|
2017-03-09 15:26:28 +00:00
|
|
|
#endif
|