Task Master 1.0 Code Pull
BIN
Task Master Logo.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
Task Master Logo.psd
Normal file
BIN
Task Master Logo/android/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Task Master Logo/android/mipmap-ldpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Task Master Logo/android/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
Task Master Logo/android/mipmap-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
Task Master Logo/android/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
Task Master Logo/android/mipmap-xxxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
Task Master Logo/android/playstore-icon.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
Task Master Logo/imessenger/icon-messages-app-27x20@1x.png
Normal file
|
After Width: | Height: | Size: 968 B |
BIN
Task Master Logo/imessenger/icon-messages-app-27x20@2x.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
Task Master Logo/imessenger/icon-messages-app-27x20@3x.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 8.6 KiB |
BIN
Task Master Logo/imessenger/icon-messages-app-store-1024x768.png
Normal file
|
After Width: | Height: | Size: 115 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
176
Task Master Logo/ios/AppIcon.appiconset/Contents.json
Executable file
@@ -0,0 +1,176 @@
|
||||
{
|
||||
"images":[
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"20x20",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-20x20@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"20x20",
|
||||
"scale":"3x",
|
||||
"filename":"Icon-App-20x20@3x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"29x29",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-29x29@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"29x29",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-29x29@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"29x29",
|
||||
"scale":"3x",
|
||||
"filename":"Icon-App-29x29@3x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"40x40",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-40x40@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"40x40",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-40x40@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"40x40",
|
||||
"scale":"3x",
|
||||
"filename":"Icon-App-40x40@3x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"57x57",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-57x57@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"57x57",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-57x57@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"60x60",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-60x60@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"60x60",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-60x60@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"60x60",
|
||||
"scale":"3x",
|
||||
"filename":"Icon-App-60x60@3x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"iphone",
|
||||
"size":"76x76",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-76x76@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"20x20",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-20x20@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"20x20",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-20x20@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"29x29",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-29x29@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"29x29",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-29x29@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"40x40",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-40x40@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"40x40",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-40x40@2x.png"
|
||||
},
|
||||
{
|
||||
"size" : "50x50",
|
||||
"idiom" : "ipad",
|
||||
"filename" : "Icon-Small-50x50@1x.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"size" : "50x50",
|
||||
"idiom" : "ipad",
|
||||
"filename" : "Icon-Small-50x50@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"72x72",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-72x72@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"72x72",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-72x72@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"76x76",
|
||||
"scale":"1x",
|
||||
"filename":"Icon-App-76x76@1x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"76x76",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-76x76@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"76x76",
|
||||
"scale":"3x",
|
||||
"filename":"Icon-App-76x76@3x.png"
|
||||
},
|
||||
{
|
||||
"idiom":"ipad",
|
||||
"size":"83.5x83.5",
|
||||
"scale":"2x",
|
||||
"filename":"Icon-App-83.5x83.5@2x.png"
|
||||
}
|
||||
],
|
||||
"info":{
|
||||
"version":1,
|
||||
"author":"makeappicon"
|
||||
}
|
||||
}
|
||||
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-20x20@1x.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-20x20@2x.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-20x20@3x.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-29x29@1x.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-29x29@2x.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-29x29@3x.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-40x40@1x.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-40x40@2x.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-40x40@3x.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-57x57@1x.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-57x57@2x.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-60x60@1x.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-60x60@2x.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-60x60@3x.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-72x72@1x.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-72x72@2x.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-76x76@1x.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-76x76@2x.png
Normal file
|
After Width: | Height: | Size: 7.8 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-App-76x76@3x.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-Small-50x50@1x.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
Task Master Logo/ios/AppIcon.appiconset/Icon-Small-50x50@2x.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
24
Task Master Logo/ios/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
## iTunesArtwork & iTunesArtwork@2x (App Icon) file extension:
|
||||
|
||||
PNG extension is prepended to these two files -
|
||||
|
||||
While Apple suggested to omit the extension for these files,
|
||||
the '.png' extension is actually required for iTunesConnect submission.
|
||||
|
||||
This is done for you so you don't have to.
|
||||
|
||||
However, for Ad_hoc or Enterprise distirbution, the extension should be removed
|
||||
from the files before adding to XCode to avoid error.
|
||||
|
||||
refs: https://developer.apple.com/library/ios/qa/qa1686/_index.html
|
||||
|
||||
## iTunesArtwork & iTunesArtwork@2x (App Icon) transparency handling:
|
||||
|
||||
As images with alpha channels or transparencies cannot be set as an application's icon on
|
||||
iTunesConnect, all transparent pixels in your images will be converted into
|
||||
solid blacks.
|
||||
|
||||
To achieve the best result, you're advised to adjust the transparency settings
|
||||
in your source files before converting them with makeAppIcon.
|
||||
|
||||
refs: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/AppIcons.html
|
||||
BIN
Task Master Logo/ios/iTunesArtwork@1x.png
Normal file
|
After Width: | Height: | Size: 42 KiB |
BIN
Task Master Logo/ios/iTunesArtwork@2x.png
Normal file
|
After Width: | Height: | Size: 117 KiB |
BIN
Task Master Logo/ios/iTunesArtwork@3x.png
Normal file
|
After Width: | Height: | Size: 207 KiB |
8
Task Master/Podfile
Normal file
@@ -0,0 +1,8 @@
|
||||
# Uncomment the next line to define a global platform for your project
|
||||
# platform :ios, '10.3'
|
||||
|
||||
target 'Task Master' do
|
||||
pod 'Firebase/Core'
|
||||
pod 'Firebase/Database'
|
||||
pod 'Firebase/Auth'
|
||||
end
|
||||
54
Task Master/Podfile.lock
Normal file
@@ -0,0 +1,54 @@
|
||||
PODS:
|
||||
- Firebase/Auth (3.16.0):
|
||||
- Firebase/Core
|
||||
- FirebaseAuth (= 3.1.1)
|
||||
- Firebase/Core (3.16.0):
|
||||
- FirebaseAnalytics (= 3.8.0)
|
||||
- FirebaseCore (= 3.6.0)
|
||||
- Firebase/Database (3.16.0):
|
||||
- Firebase/Core
|
||||
- FirebaseDatabase (= 3.1.2)
|
||||
- FirebaseAnalytics (3.8.0):
|
||||
- FirebaseCore (~> 3.6)
|
||||
- FirebaseInstanceID (~> 1.0)
|
||||
- GoogleToolboxForMac/NSData+zlib (~> 2.1)
|
||||
- FirebaseAuth (3.1.1):
|
||||
- FirebaseAnalytics (~> 3.7)
|
||||
- GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)
|
||||
- GTMSessionFetcher/Core (~> 1.1)
|
||||
- FirebaseCore (3.6.0):
|
||||
- GoogleToolboxForMac/NSData+zlib (~> 2.1)
|
||||
- FirebaseDatabase (3.1.2):
|
||||
- FirebaseAnalytics (~> 3.7)
|
||||
- FirebaseInstanceID (1.0.10):
|
||||
- FirebaseCore (~> 3.6)
|
||||
- GoogleToolboxForMac/DebugUtils (2.1.1):
|
||||
- GoogleToolboxForMac/Defines (= 2.1.1)
|
||||
- GoogleToolboxForMac/Defines (2.1.1)
|
||||
- GoogleToolboxForMac/NSData+zlib (2.1.1):
|
||||
- GoogleToolboxForMac/Defines (= 2.1.1)
|
||||
- GoogleToolboxForMac/NSDictionary+URLArguments (2.1.1):
|
||||
- GoogleToolboxForMac/DebugUtils (= 2.1.1)
|
||||
- GoogleToolboxForMac/Defines (= 2.1.1)
|
||||
- GoogleToolboxForMac/NSString+URLArguments (= 2.1.1)
|
||||
- GoogleToolboxForMac/NSString+URLArguments (2.1.1)
|
||||
- GTMSessionFetcher/Core (1.1.9)
|
||||
|
||||
DEPENDENCIES:
|
||||
- Firebase/Auth
|
||||
- Firebase/Core
|
||||
- Firebase/Database
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
Firebase: 21bf4a89d3f01bfbe11adc3a5d934a4a3d3a5fd6
|
||||
FirebaseAnalytics: 920e46455f27b0a52a80907a6d9b73ee4bd1c635
|
||||
FirebaseAuth: cc8a1824170adbd351edb7f994490a3fb5c18be6
|
||||
FirebaseCore: 9691ee2ade70c098d7cf92440f4303f16d83ca75
|
||||
FirebaseDatabase: 05c96d7b43a7368dc91c07791adb49683e1738d1
|
||||
FirebaseInstanceID: b9eedd6846fb5e1f0f7279e1deaa7a7e4cf8392e
|
||||
GoogleToolboxForMac: 8e329f1b599f2512c6b10676d45736bcc2cbbeb0
|
||||
GTMSessionFetcher: 5c046c76a1f859bc9c187e918f18e4fc7bb57b5e
|
||||
|
||||
PODFILE CHECKSUM: 5dada07b8ffcd867f75f4115acd0e8c161a70c90
|
||||
|
||||
COCOAPODS: 1.2.1
|
||||
52
Task Master/Pods/Firebase/Core/Sources/Firebase.h
generated
Executable file
@@ -0,0 +1,52 @@
|
||||
#import <FirebaseAnalytics/FirebaseAnalytics.h>
|
||||
#import <FirebaseCore/FirebaseCore.h>
|
||||
|
||||
#if !defined(__has_include)
|
||||
#error "Firebase.h won't import anything if your compiler doesn't support __has_include. Please \
|
||||
import the headers individually."
|
||||
#else
|
||||
#if __has_include(<FirebaseAppIndexing/FirebaseAppIndexing.h>)
|
||||
#import <FirebaseAppIndexing/FirebaseAppIndexing.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<FirebaseAuth/FirebaseAuth.h>)
|
||||
#import <FirebaseAuth/FirebaseAuth.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<FirebaseCrash/FirebaseCrash.h>)
|
||||
#import <FirebaseCrash/FirebaseCrash.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<FirebaseDatabase/FirebaseDatabase.h>)
|
||||
#import <FirebaseDatabase/FirebaseDatabase.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<FirebaseDynamicLinks/FirebaseDynamicLinks.h>)
|
||||
#import <FirebaseDynamicLinks/FirebaseDynamicLinks.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<FirebaseInstanceID/FirebaseInstanceID.h>)
|
||||
#import <FirebaseInstanceID/FirebaseInstanceID.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<FirebaseInvites/FirebaseInvites.h>)
|
||||
#import <FirebaseInvites/FirebaseInvites.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<FirebaseMessaging/FirebaseMessaging.h>)
|
||||
#import <FirebaseMessaging/FirebaseMessaging.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<FirebaseRemoteConfig/FirebaseRemoteConfig.h>)
|
||||
#import <FirebaseRemoteConfig/FirebaseRemoteConfig.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<FirebaseStorage/FirebaseStorage.h>)
|
||||
#import <FirebaseStorage/FirebaseStorage.h>
|
||||
#endif
|
||||
|
||||
#if __has_include(<GoogleMobileAds/GoogleMobileAds.h>)
|
||||
#import <GoogleMobileAds/GoogleMobileAds.h>
|
||||
#endif
|
||||
|
||||
#endif // defined(__has_include)
|
||||
4
Task Master/Pods/Firebase/Core/Sources/module.modulemap
generated
Executable file
@@ -0,0 +1,4 @@
|
||||
module Firebase {
|
||||
export *
|
||||
header "Firebase.h"
|
||||
}
|
||||
76
Task Master/Pods/Firebase/README.md
generated
Executable file
@@ -0,0 +1,76 @@
|
||||
# Firebase APIs for iOS
|
||||
|
||||
Simplify your iOS development, grow your user base, and monetize more
|
||||
effectively with Firebase services.
|
||||
|
||||
Much more information can be found at [https://firebase.google.com](https://firebase.google.com).
|
||||
|
||||
## Install a Firebase SDK using CocoaPods
|
||||
|
||||
Firebase distributes several iOS specific APIs and SDKs via CocoaPods.
|
||||
You can install the CocoaPods tool on OS X by running the following command from
|
||||
the terminal. Detailed information is available in the [Getting Started
|
||||
guide](https://guides.cocoapods.org/using/getting-started.html#getting-started).
|
||||
|
||||
```
|
||||
$ sudo gem install cocoapods
|
||||
```
|
||||
|
||||
## Try out an SDK
|
||||
|
||||
You can try any of the SDKs with `pod try`. Run the following command and select
|
||||
the SDK you are interested in when prompted:
|
||||
|
||||
```
|
||||
$ pod try Firebase
|
||||
```
|
||||
|
||||
Note that some SDKs may require credentials. More information is available in
|
||||
the SDK-specific documentation at [https://firebase.google.com/docs/](https://firebase.google.com/docs/).
|
||||
|
||||
## Add a Firebase SDK to your iOS app
|
||||
|
||||
CocoaPods is used to install and manage dependencies in existing Xcode projects.
|
||||
|
||||
1. Create an Xcode project, and save it to your local machine.
|
||||
2. Create a file named `Podfile` in your project directory. This file defines
|
||||
your project's dependencies, and is commonly referred to as a Podspec.
|
||||
3. Open `Podfile`, and add your dependencies. A simple Podspec is shown here:
|
||||
|
||||
```
|
||||
platform :ios, '7.0'
|
||||
pod 'Firebase'
|
||||
```
|
||||
|
||||
4. Save the file.
|
||||
5. Open a terminal and `cd` to the directory containing the Podfile.
|
||||
|
||||
```
|
||||
$ cd <path-to-project>/project/
|
||||
```
|
||||
|
||||
6. Run the `pod install` command. This will install the SDKs specified in the
|
||||
Podspec, along with any dependencies they may have.
|
||||
|
||||
```
|
||||
$ pod install
|
||||
```
|
||||
|
||||
7. Open your app's `.xcworkspace` file to launch Xcode.
|
||||
Use this file for all development on your app.
|
||||
8. You can also install other Firebase SDKs by adding the subspecs in the
|
||||
Podfile.
|
||||
|
||||
```
|
||||
pod 'Firebase/AdMob'
|
||||
pod 'Firebase/Analytics'
|
||||
pod 'Firebase/AppIndexing'
|
||||
pod 'Firebase/Auth'
|
||||
pod 'Firebase/Crash'
|
||||
pod 'Firebase/Database'
|
||||
pod 'Firebase/DynamicLinks'
|
||||
pod 'Firebase/Invites'
|
||||
pod 'Firebase/Messaging'
|
||||
pod 'Firebase/RemoteConfig'
|
||||
pod 'Firebase/Storage'
|
||||
```
|
||||
BIN
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics
generated
Executable file
57
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h
generated
Executable file
@@ -0,0 +1,57 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "FIRAnalytics.h"
|
||||
|
||||
/**
|
||||
* Provides App Delegate handlers to be used in your App Delegate.
|
||||
*
|
||||
* To save time integrating Firebase Analytics in an application, Firebase Analytics does not
|
||||
* require delegation implementation from the AppDelegate. Instead this is automatically done by
|
||||
* Firebase Analytics. Should you choose instead to delegate manually, you can turn off the App
|
||||
* Delegate Proxy by adding FirebaseAppDelegateProxyEnabled into your app's Info.plist and setting
|
||||
* it to NO, and adding the methods in this category to corresponding delegation handlers.
|
||||
*
|
||||
* To handle Universal Links, you must return YES in
|
||||
* [UIApplicationDelegate application:didFinishLaunchingWithOptions:].
|
||||
*/
|
||||
@interface FIRAnalytics (AppDelegate)
|
||||
|
||||
/**
|
||||
* Handles events related to a URL session that are waiting to be processed.
|
||||
*
|
||||
* For optimal use of Firebase Analytics, call this method from the
|
||||
* [UIApplicationDelegate application:handleEventsForBackgroundURLSession:completionHandler]
|
||||
* method of the app delegate in your app.
|
||||
*
|
||||
* @param identifier The identifier of the URL session requiring attention.
|
||||
* @param completionHandler The completion handler to call when you finish processing the events.
|
||||
* Calling this completion handler lets the system know that your app's user interface is
|
||||
* updated and a new snapshot can be taken.
|
||||
*/
|
||||
+ (void)handleEventsForBackgroundURLSession:(NSString *)identifier
|
||||
completionHandler:(void (^)(void))completionHandler;
|
||||
|
||||
/**
|
||||
* Handles the event when the app is launched by a URL.
|
||||
*
|
||||
* Call this method from [UIApplicationDelegate application:openURL:options:] (on iOS 9.0 and
|
||||
* above), or [UIApplicationDelegate application:openURL:sourceApplication:annotation:] (on iOS 8.x
|
||||
* and below) in your app.
|
||||
*
|
||||
* @param url The URL resource to open. This resource can be a network resource or a file.
|
||||
*/
|
||||
+ (void)handleOpenURL:(NSURL *)url;
|
||||
|
||||
/**
|
||||
* Handles the event when the app receives data associated with user activity that includes a
|
||||
* Universal Link (on iOS 9.0 and above).
|
||||
*
|
||||
* Call this method from [UIApplication continueUserActivity:restorationHandler:] in your app
|
||||
* delegate (on iOS 9.0 and above).
|
||||
*
|
||||
* @param userActivity The activity object containing the data associated with the task the user
|
||||
* was performing.
|
||||
*/
|
||||
+ (void)handleUserActivity:(id)userActivity;
|
||||
|
||||
@end
|
||||
102
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h
generated
Executable file
@@ -0,0 +1,102 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "FIREventNames.h"
|
||||
#import "FIRParameterNames.h"
|
||||
#import "FIRUserPropertyNames.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/// The top level Firebase Analytics singleton that provides methods for logging events and setting
|
||||
/// user properties. See <a href="http://goo.gl/gz8SLz">the developer guides</a> for general
|
||||
/// information on using Firebase Analytics in your apps.
|
||||
@interface FIRAnalytics : NSObject
|
||||
|
||||
/// Logs an app event. The event can have up to 25 parameters. Events with the same name must have
|
||||
/// the same parameters. Up to 500 event names are supported. Using predefined events and/or
|
||||
/// parameters is recommended for optimal reporting.
|
||||
///
|
||||
/// The following event names are reserved and cannot be used:
|
||||
/// <ul>
|
||||
/// <li>app_clear_data</li>
|
||||
/// <li>app_remove</li>
|
||||
/// <li>app_update</li>
|
||||
/// <li>error</li>
|
||||
/// <li>first_open</li>
|
||||
/// <li>in_app_purchase</li>
|
||||
/// <li>notification_dismiss</li>
|
||||
/// <li>notification_foreground</li>
|
||||
/// <li>notification_open</li>
|
||||
/// <li>notification_receive</li>
|
||||
/// <li>os_update</li>
|
||||
/// <li>session_start</li>
|
||||
/// <li>user_engagement</li>
|
||||
/// </ul>
|
||||
///
|
||||
/// @param name The name of the event. Should contain 1 to 40 alphanumeric characters or
|
||||
/// underscores. The name must start with an alphabetic character. Some event names are
|
||||
/// reserved. See FIREventNames.h for the list of reserved event names. The "firebase_" prefix
|
||||
/// is reserved and should not be used. Note that event names are case-sensitive and that
|
||||
/// logging two events whose names differ only in case will result in two distinct events.
|
||||
/// @param parameters The dictionary of event parameters. Passing nil indicates that the event has
|
||||
/// no parameters. Parameter names can be up to 40 characters long and must start with an
|
||||
/// alphabetic character and contain only alphanumeric characters and underscores. Only NSString
|
||||
/// and NSNumber (signed 64-bit integer and 64-bit floating-point number) parameter types are
|
||||
/// supported. NSString parameter values can be up to 100 characters long. The "firebase_"
|
||||
/// prefix is reserved and should not be used for parameter names.
|
||||
+ (void)logEventWithName:(NSString *)name
|
||||
parameters:(nullable NSDictionary<NSString *, NSObject *> *)parameters;
|
||||
|
||||
/// Sets a user property to a given value. Up to 25 user property names are supported. Once set,
|
||||
/// user property values persist throughout the app lifecycle and across sessions.
|
||||
///
|
||||
/// The following user property names are reserved and cannot be used:
|
||||
/// <ul>
|
||||
/// <li>first_open_time</li>
|
||||
/// <li>last_deep_link_referrer</li>
|
||||
/// <li>user_id</li>
|
||||
/// </ul>
|
||||
///
|
||||
/// @param value The value of the user property. Values can be up to 36 characters long. Setting the
|
||||
/// value to nil removes the user property.
|
||||
/// @param name The name of the user property to set. Should contain 1 to 24 alphanumeric characters
|
||||
/// or underscores and must start with an alphabetic character. The "firebase_" prefix is
|
||||
/// reserved and should not be used for user property names.
|
||||
+ (void)setUserPropertyString:(nullable NSString *)value forName:(NSString *)name;
|
||||
|
||||
/// Sets the user ID property. This feature must be used in accordance with
|
||||
/// <a href="https://www.google.com/policies/privacy">Google's Privacy Policy</a>
|
||||
///
|
||||
/// @param userID The user ID to ascribe to the user of this app on this device, which must be
|
||||
/// non-empty and no more than 36 characters long. Setting userID to nil removes the user ID.
|
||||
+ (void)setUserID:(nullable NSString *)userID;
|
||||
|
||||
/// Sets the current screen name, which specifies the current visual context in your app. This helps
|
||||
/// identify the areas in your app where users spend their time and how they interact with your app.
|
||||
///
|
||||
/// Note that screen reporting is enabled automatically and records the class name of the current
|
||||
/// UIViewController for you without requiring you to call this method. If you implement
|
||||
/// viewDidAppear in your UIViewController but do not call [super viewDidAppear:], that screen class
|
||||
/// will not be automatically tracked. The class name can optionally be overridden by calling this
|
||||
/// method in the viewDidAppear callback of your UIViewController and specifying the
|
||||
/// screenClassOverride parameter.
|
||||
///
|
||||
/// If your app does not use a distinct UIViewController for each screen, you should call this
|
||||
/// method and specify a distinct screenName each time a new screen is presented to the user.
|
||||
///
|
||||
/// The screen name and screen class remain in effect until the current UIViewController changes or
|
||||
/// a new call to setScreenName:screenClass: is made.
|
||||
///
|
||||
/// @param screenName The name of the current screen. Should contain 1 to 100 characters. Set to nil
|
||||
/// to clear the current screen name.
|
||||
/// @param screenClassOverride The name of the screen class. Should contain 1 to 100 characters. By
|
||||
/// default this is the class name of the current UIViewController. Set to nil to revert to the
|
||||
/// default class name.
|
||||
+ (void)setScreenName:(nullable NSString *)screenName
|
||||
screenClass:(nullable NSString *)screenClassOverride;
|
||||
|
||||
/// The unique ID for this instance of the application.
|
||||
+ (NSString *)appInstanceID;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
1
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h
generated
Executable file
@@ -0,0 +1 @@
|
||||
#import <FirebaseCore/FIRAnalyticsConfiguration.h>
|
||||
1
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h
generated
Executable file
@@ -0,0 +1 @@
|
||||
#import <FirebaseCore/FIRApp.h>
|
||||
1
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h
generated
Executable file
@@ -0,0 +1 @@
|
||||
#import <FirebaseCore/FIRConfiguration.h>
|
||||
336
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h
generated
Executable file
@@ -0,0 +1,336 @@
|
||||
/// @file FIREventNames.h
|
||||
///
|
||||
/// Predefined event names.
|
||||
///
|
||||
/// An Event is an important occurrence in your app that you want to measure. You can report up to
|
||||
/// 500 different types of Events per app and you can associate up to 25 unique parameters with each
|
||||
/// Event type. Some common events are suggested below, but you may also choose to specify custom
|
||||
/// Event types that are associated with your specific app. Each event type is identified by a
|
||||
/// unique name. Event names can be up to 40 characters long, may only contain alphanumeric
|
||||
/// characters and underscores ("_"), and must start with an alphabetic character. The "firebase_"
|
||||
/// prefix is reserved and should not be used.
|
||||
|
||||
/// Add Payment Info event. This event signifies that a user has submitted their payment information
|
||||
/// to your app.
|
||||
static NSString *const kFIREventAddPaymentInfo = @"add_payment_info";
|
||||
|
||||
/// E-Commerce Add To Cart event. This event signifies that an item was added to a cart for
|
||||
/// purchase. Add this event to a funnel with kFIREventEcommercePurchase to gauge the effectiveness
|
||||
/// of your checkout process. Note: If you supply the @c kFIRParameterValue parameter, you must
|
||||
/// also supply the @c kFIRParameterCurrency parameter so that revenue metrics can be computed
|
||||
/// accurately. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterQuantity (signed 64-bit integer as NSNumber)</li>
|
||||
/// <li>@c kFIRParameterItemID (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemName (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemCategory (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemLocationID (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterPrice (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterDestination (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventAddToCart = @"add_to_cart";
|
||||
|
||||
/// E-Commerce Add To Wishlist event. This event signifies that an item was added to a wishlist.
|
||||
/// Use this event to identify popular gift items in your app. Note: If you supply the
|
||||
/// @c kFIRParameterValue parameter, you must also supply the @c kFIRParameterCurrency
|
||||
/// parameter so that revenue metrics can be computed accurately. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterQuantity (signed 64-bit integer as NSNumber)</li>
|
||||
/// <li>@c kFIRParameterItemID (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemName (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemCategory (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemLocationID (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterPrice (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventAddToWishlist = @"add_to_wishlist";
|
||||
|
||||
/// App Open event. By logging this event when an App is moved to the foreground, developers can
|
||||
/// understand how often users leave and return during the course of a Session. Although Sessions
|
||||
/// are automatically reported, this event can provide further clarification around the continuous
|
||||
/// engagement of app-users.
|
||||
static NSString *const kFIREventAppOpen = @"app_open";
|
||||
|
||||
/// E-Commerce Begin Checkout event. This event signifies that a user has begun the process of
|
||||
/// checking out. Add this event to a funnel with your kFIREventEcommercePurchase event to gauge the
|
||||
/// effectiveness of your checkout process. Note: If you supply the @c kFIRParameterValue
|
||||
/// parameter, you must also supply the @c kFIRParameterCurrency parameter so that revenue
|
||||
/// metrics can be computed accurately. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterTransactionID (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterNumberOfNights (signed 64-bit integer as NSNumber) (optional) for
|
||||
/// hotel bookings</li>
|
||||
/// <li>@c kFIRParameterNumberOfRooms (signed 64-bit integer as NSNumber) (optional) for
|
||||
/// hotel bookings</li>
|
||||
/// <li>@c kFIRParameterNumberOfPassengers (signed 64-bit integer as NSNumber) (optional)
|
||||
/// for travel bookings</li>
|
||||
/// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterDestination (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterTravelClass (NSString) (optional) for travel bookings</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventBeginCheckout = @"begin_checkout";
|
||||
|
||||
/// Campaign Detail event. Log this event to supply the referral details of a re-engagement
|
||||
/// campaign. Note: you must supply at least one of the required parameters kFIRParameterSource,
|
||||
/// kFIRParameterMedium or kFIRParameterCampaign. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterSource (NSString)</li>
|
||||
/// <li>@c kFIRParameterMedium (NSString)</li>
|
||||
/// <li>@c kFIRParameterCampaign (NSString)</li>
|
||||
/// <li>@c kFIRParameterTerm (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterContent (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterAdNetworkClickID (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterCP1 (NSString) (optional)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventCampaignDetails = @"campaign_details";
|
||||
|
||||
/// Earn Virtual Currency event. This event tracks the awarding of virtual currency in your app. Log
|
||||
/// this along with @c kFIREventSpendVirtualCurrency to better understand your virtual economy.
|
||||
/// Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterVirtualCurrencyName (NSString)</li>
|
||||
/// <li>@c kFIRParameterValue (signed 64-bit integer or double as NSNumber)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventEarnVirtualCurrency = @"earn_virtual_currency";
|
||||
|
||||
/// E-Commerce Purchase event. This event signifies that an item was purchased by a user. Note:
|
||||
/// This is different from the in-app purchase event, which is reported automatically for App
|
||||
/// Store-based apps. Note: If you supply the @c kFIRParameterValue parameter, you must also
|
||||
/// supply the @c kFIRParameterCurrency parameter so that revenue metrics can be computed
|
||||
/// accurately. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterTransactionID (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterTax (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterShipping (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterCoupon (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterLocation (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterNumberOfNights (signed 64-bit integer as NSNumber) (optional) for
|
||||
/// hotel bookings</li>
|
||||
/// <li>@c kFIRParameterNumberOfRooms (signed 64-bit integer as NSNumber) (optional) for
|
||||
/// hotel bookings</li>
|
||||
/// <li>@c kFIRParameterNumberOfPassengers (signed 64-bit integer as NSNumber) (optional)
|
||||
/// for travel bookings</li>
|
||||
/// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterDestination (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterTravelClass (NSString) (optional) for travel bookings</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventEcommercePurchase = @"ecommerce_purchase";
|
||||
|
||||
/// Generate Lead event. Log this event when a lead has been generated in the app to understand the
|
||||
/// efficacy of your install and re-engagement campaigns. Note: If you supply the
|
||||
/// @c kFIRParameterValue parameter, you must also supply the @c kFIRParameterCurrency
|
||||
/// parameter so that revenue metrics can be computed accurately. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventGenerateLead = @"generate_lead";
|
||||
|
||||
/// Join Group event. Log this event when a user joins a group such as a guild, team or family. Use
|
||||
/// this event to analyze how popular certain groups or social features are in your app. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterGroupID (NSString)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventJoinGroup = @"join_group";
|
||||
|
||||
/// Level Up event. This event signifies that a player has leveled up in your gaming app. It can
|
||||
/// help you gauge the level distribution of your userbase and help you identify certain levels that
|
||||
/// are difficult to pass. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterLevel (signed 64-bit integer as NSNumber)</li>
|
||||
/// <li>@c kFIRParameterCharacter (NSString) (optional)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventLevelUp = @"level_up";
|
||||
|
||||
/// Login event. Apps with a login feature can report this event to signify that a user has logged
|
||||
/// in.
|
||||
static NSString *const kFIREventLogin = @"login";
|
||||
|
||||
/// Post Score event. Log this event when the user posts a score in your gaming app. This event can
|
||||
/// help you understand how users are actually performing in your game and it can help you correlate
|
||||
/// high scores with certain audiences or behaviors. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterScore (signed 64-bit integer as NSNumber)</li>
|
||||
/// <li>@c kFIRParameterLevel (signed 64-bit integer as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterCharacter (NSString) (optional)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventPostScore = @"post_score";
|
||||
|
||||
/// Present Offer event. This event signifies that the app has presented a purchase offer to a user.
|
||||
/// Add this event to a funnel with the kFIREventAddToCart and kFIREventEcommercePurchase to gauge
|
||||
/// your conversion process. Note: If you supply the @c kFIRParameterValue parameter, you must
|
||||
/// also supply the @c kFIRParameterCurrency parameter so that revenue metrics can be computed
|
||||
/// accurately. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterQuantity (signed 64-bit integer as NSNumber)</li>
|
||||
/// <li>@c kFIRParameterItemID (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemName (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemCategory (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemLocationID (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterPrice (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventPresentOffer = @"present_offer";
|
||||
|
||||
/// E-Commerce Purchase Refund event. This event signifies that an item purchase was refunded.
|
||||
/// Note: If you supply the @c kFIRParameterValue parameter, you must also supply the
|
||||
/// @c kFIRParameterCurrency parameter so that revenue metrics can be computed accurately.
|
||||
/// Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterTransactionID (NSString) (optional)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventPurchaseRefund = @"purchase_refund";
|
||||
|
||||
/// Search event. Apps that support search features can use this event to contextualize search
|
||||
/// operations by supplying the appropriate, corresponding parameters. This event can help you
|
||||
/// identify the most popular content in your app. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterSearchTerm (NSString)</li>
|
||||
/// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterNumberOfNights (signed 64-bit integer as NSNumber) (optional) for
|
||||
/// hotel bookings</li>
|
||||
/// <li>@c kFIRParameterNumberOfRooms (signed 64-bit integer as NSNumber) (optional) for
|
||||
/// hotel bookings</li>
|
||||
/// <li>@c kFIRParameterNumberOfPassengers (signed 64-bit integer as NSNumber) (optional)
|
||||
/// for travel bookings</li>
|
||||
/// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterDestination (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterTravelClass (NSString) (optional) for travel bookings</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventSearch = @"search";
|
||||
|
||||
/// Select Content event. This general purpose event signifies that a user has selected some content
|
||||
/// of a certain type in an app. The content can be any object in your app. This event can help you
|
||||
/// identify popular content and categories of content in your app. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterContentType (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemID (NSString)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventSelectContent = @"select_content";
|
||||
|
||||
/// Share event. Apps with social features can log the Share event to identify the most viral
|
||||
/// content. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterContentType (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemID (NSString)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventShare = @"share";
|
||||
|
||||
/// Sign Up event. This event indicates that a user has signed up for an account in your app. The
|
||||
/// parameter signifies the method by which the user signed up. Use this event to understand the
|
||||
/// different behaviors between logged in and logged out users. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterSignUpMethod (NSString)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventSignUp = @"sign_up";
|
||||
|
||||
/// Spend Virtual Currency event. This event tracks the sale of virtual goods in your app and can
|
||||
/// help you identify which virtual goods are the most popular objects of purchase. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterItemName (NSString)</li>
|
||||
/// <li>@c kFIRParameterVirtualCurrencyName (NSString)</li>
|
||||
/// <li>@c kFIRParameterValue (signed 64-bit integer or double as NSNumber)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventSpendVirtualCurrency = @"spend_virtual_currency";
|
||||
|
||||
/// Tutorial Begin event. This event signifies the start of the on-boarding process in your app. Use
|
||||
/// this in a funnel with kFIREventTutorialComplete to understand how many users complete this
|
||||
/// process and move on to the full app experience.
|
||||
static NSString *const kFIREventTutorialBegin = @"tutorial_begin";
|
||||
|
||||
/// Tutorial End event. Use this event to signify the user's completion of your app's on-boarding
|
||||
/// process. Add this to a funnel with kFIREventTutorialBegin to gauge the completion rate of your
|
||||
/// on-boarding process.
|
||||
static NSString *const kFIREventTutorialComplete = @"tutorial_complete";
|
||||
|
||||
/// Unlock Achievement event. Log this event when the user has unlocked an achievement in your
|
||||
/// game. Since achievements generally represent the breadth of a gaming experience, this event can
|
||||
/// help you understand how many users are experiencing all that your game has to offer. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterAchievementID (NSString)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventUnlockAchievement = @"unlock_achievement";
|
||||
|
||||
/// View Item event. This event signifies that some content was shown to the user. This content may
|
||||
/// be a product, a webpage or just a simple image or text. Use the appropriate parameters to
|
||||
/// contextualize the event. Use this event to discover the most popular items viewed in your app.
|
||||
/// Note: If you supply the @c kFIRParameterValue parameter, you must also supply the
|
||||
/// @c kFIRParameterCurrency parameter so that revenue metrics can be computed accurately.
|
||||
/// Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterItemID (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemName (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemCategory (NSString)</li>
|
||||
/// <li>@c kFIRParameterItemLocationID (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterPrice (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterQuantity (signed 64-bit integer as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterCurrency (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterValue (double as NSNumber) (optional)</li>
|
||||
/// <li>@c kFIRParameterStartDate (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterEndDate (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterFlightNumber (NSString) (optional) for travel bookings</li>
|
||||
/// <li>@c kFIRParameterNumberOfPassengers (signed 64-bit integer as NSNumber) (optional)
|
||||
/// for travel bookings</li>
|
||||
/// <li>@c kFIRParameterNumberOfNights (signed 64-bit integer as NSNumber) (optional) for
|
||||
/// travel bookings</li>
|
||||
/// <li>@c kFIRParameterNumberOfRooms (signed 64-bit integer as NSNumber) (optional) for
|
||||
/// travel bookings</li>
|
||||
/// <li>@c kFIRParameterOrigin (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterDestination (NSString) (optional)</li>
|
||||
/// <li>@c kFIRParameterSearchTerm (NSString) (optional) for travel bookings</li>
|
||||
/// <li>@c kFIRParameterTravelClass (NSString) (optional) for travel bookings</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventViewItem = @"view_item";
|
||||
|
||||
/// View Item List event. Log this event when the user has been presented with a list of items of a
|
||||
/// certain category. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterItemCategory (NSString)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventViewItemList = @"view_item_list";
|
||||
|
||||
/// View Search Results event. Log this event when the user has been presented with the results of a
|
||||
/// search. Params:
|
||||
///
|
||||
/// <ul>
|
||||
/// <li>@c kFIRParameterSearchTerm (NSString)</li>
|
||||
/// </ul>
|
||||
static NSString *const kFIREventViewSearchResults = @"view_search_results";
|
||||
1
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h
generated
Executable file
@@ -0,0 +1 @@
|
||||
#import <FirebaseCore/FIROptions.h>
|
||||
369
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h
generated
Executable file
@@ -0,0 +1,369 @@
|
||||
/// @file FIRParameterNames.h
|
||||
///
|
||||
/// Predefined event parameter names.
|
||||
///
|
||||
/// Params supply information that contextualize Events. You can associate up to 25 unique Params
|
||||
/// with each Event type. Some Params are suggested below for certain common Events, but you are
|
||||
/// not limited to these. You may supply extra Params for suggested Events or custom Params for
|
||||
/// Custom events. Param names can be up to 40 characters long, may only contain alphanumeric
|
||||
/// characters and underscores ("_"), and must start with an alphabetic character. Param values can
|
||||
/// be up to 100 characters long. The "firebase_" prefix is reserved and should not be used.
|
||||
|
||||
/// Game achievement ID (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterAchievementID : @"10_matches_won",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterAchievementID = @"achievement_id";
|
||||
|
||||
/// Ad Network Click ID (NSString). Used for network-specific click IDs which vary in format.
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterAdNetworkClickID : @"1234567",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterAdNetworkClickID = @"aclid";
|
||||
|
||||
/// The individual campaign name, slogan, promo code, etc. Some networks have pre-defined macro to
|
||||
/// capture campaign information, otherwise can be populated by developer. Highly Recommended
|
||||
/// (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterCampaign : @"winter_promotion",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterCampaign = @"campaign";
|
||||
|
||||
/// Character used in game (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterCharacter : @"beat_boss",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterCharacter = @"character";
|
||||
|
||||
/// Campaign content (NSString).
|
||||
static NSString *const kFIRParameterContent = @"content";
|
||||
|
||||
/// Type of content selected (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterContentType : @"news article",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterContentType = @"content_type";
|
||||
|
||||
/// Coupon code for a purchasable item (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterCoupon : @"zz123",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterCoupon = @"coupon";
|
||||
|
||||
/// Campaign custom parameter (NSString). Used as a method of capturing custom data in a campaign.
|
||||
/// Use varies by network.
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterCP1 : @"custom_data",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterCP1 = @"cp1";
|
||||
|
||||
/// Purchase currency in 3-letter <a href="http://en.wikipedia.org/wiki/ISO_4217#Active_codes">
|
||||
/// ISO_4217</a> format (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterCurrency : @"USD",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterCurrency = @"currency";
|
||||
|
||||
/// Flight or Travel destination (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterDestination : @"Mountain View, CA",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterDestination = @"destination";
|
||||
|
||||
/// The arrival date, check-out date or rental end date for the item. This should be in
|
||||
/// YYYY-MM-DD format (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterEndDate : @"2015-09-14",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterEndDate = @"end_date";
|
||||
|
||||
/// Flight number for travel events (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterFlightNumber : @"ZZ800",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterFlightNumber = @"flight_number";
|
||||
|
||||
/// Group/clan/guild ID (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterGroupID : @"g1",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterGroupID = @"group_id";
|
||||
|
||||
/// Item category (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterItemCategory : @"t-shirts",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterItemCategory = @"item_category";
|
||||
|
||||
/// Item ID (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterItemID : @"p7654",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterItemID = @"item_id";
|
||||
|
||||
/// The Google <a href="https://developers.google.com/places/place-id">Place ID</a> (NSString) that
|
||||
/// corresponds to the associated item. Alternatively, you can supply your own custom Location ID.
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterItemLocationID : @"ChIJiyj437sx3YAR9kUWC8QkLzQ",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterItemLocationID = @"item_location_id";
|
||||
|
||||
/// Item name (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterItemName : @"abc",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterItemName = @"item_name";
|
||||
|
||||
/// Level in game (signed 64-bit integer as NSNumber).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterLevel : @(42),
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterLevel = @"level";
|
||||
|
||||
/// Location (NSString). The Google <a href="https://developers.google.com/places/place-id">Place ID
|
||||
/// </a> that corresponds to the associated event. Alternatively, you can supply your own custom
|
||||
/// Location ID.
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterLocation : @"ChIJiyj437sx3YAR9kUWC8QkLzQ",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterLocation = @"location";
|
||||
|
||||
/// The advertising or marketing medium, for example: cpc, banner, email, push. Highly recommended
|
||||
/// (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterMedium : @"email",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterMedium = @"medium";
|
||||
|
||||
/// Number of nights staying at hotel (signed 64-bit integer as NSNumber).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterNumberOfNights : @(3),
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterNumberOfNights = @"number_of_nights";
|
||||
|
||||
/// Number of passengers traveling (signed 64-bit integer as NSNumber).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterNumberOfPassengers : @(11),
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterNumberOfPassengers = @"number_of_passengers";
|
||||
|
||||
/// Number of rooms for travel events (signed 64-bit integer as NSNumber).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterNumberOfRooms : @(2),
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterNumberOfRooms = @"number_of_rooms";
|
||||
|
||||
/// Flight or Travel origin (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterOrigin : @"Mountain View, CA",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterOrigin = @"origin";
|
||||
|
||||
/// Purchase price (double as NSNumber).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterPrice : @(1.0),
|
||||
/// kFIRParameterCurrency : @"USD", // e.g. $1.00 USD
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterPrice = @"price";
|
||||
|
||||
/// Purchase quantity (signed 64-bit integer as NSNumber).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterQuantity : @(1),
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterQuantity = @"quantity";
|
||||
|
||||
/// Score in game (signed 64-bit integer as NSNumber).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterScore : @(4200),
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterScore = @"score";
|
||||
|
||||
/// The search string/keywords used (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterSearchTerm : @"periodic table",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterSearchTerm = @"search_term";
|
||||
|
||||
/// Shipping cost (double as NSNumber).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterShipping : @(9.50),
|
||||
/// kFIRParameterCurrency : @"USD", // e.g. $9.50 USD
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterShipping = @"shipping";
|
||||
|
||||
/// Sign up method (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterSignUpMethod : @"google",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterSignUpMethod = @"sign_up_method";
|
||||
|
||||
/// The origin of your traffic, such as an Ad network (for example, google) or partner (urban
|
||||
/// airship). Identify the advertiser, site, publication, etc. that is sending traffic to your
|
||||
/// property. Highly recommended (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterSource : @"InMobi",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterSource = @"source";
|
||||
|
||||
/// The departure date, check-in date or rental start date for the item. This should be in
|
||||
/// YYYY-MM-DD format (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterStartDate : @"2015-09-14",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterStartDate = @"start_date";
|
||||
|
||||
/// Tax amount (double as NSNumber).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterTax : @(1.0),
|
||||
/// kFIRParameterCurrency : @"USD", // e.g. $1.00 USD
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterTax = @"tax";
|
||||
|
||||
/// If you're manually tagging keyword campaigns, you should use utm_term to specify the keyword
|
||||
/// (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterTerm : @"game",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterTerm = @"term";
|
||||
|
||||
/// A single ID for a ecommerce group transaction (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterTransactionID : @"ab7236dd9823",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterTransactionID = @"transaction_id";
|
||||
|
||||
/// Travel class (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterTravelClass : @"business",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterTravelClass = @"travel_class";
|
||||
|
||||
/// A context-specific numeric value which is accumulated automatically for each event type. This is
|
||||
/// a general purpose parameter that is useful for accumulating a key metric that pertains to an
|
||||
/// event. Examples include revenue, distance, time and points. Value should be specified as signed
|
||||
/// 64-bit integer or double as NSNumber. Notes: Values for pre-defined currency-related events
|
||||
/// (such as @c kFIREventAddToCart) should be supplied using double as NSNumber and must be
|
||||
/// accompanied by a @c kFIRParameterCurrency parameter. The valid range of accumulated values is
|
||||
/// [-9,223,372,036,854.77, 9,223,372,036,854.77].
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterValue : @(3.99),
|
||||
/// kFIRParameterCurrency : @"USD", // e.g. $3.99 USD
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterValue = @"value";
|
||||
|
||||
/// Name of virtual currency type (NSString).
|
||||
/// <pre>
|
||||
/// NSDictionary *params = @{
|
||||
/// kFIRParameterVirtualCurrencyName : @"virtual_currency_name",
|
||||
/// // ...
|
||||
/// };
|
||||
/// </pre>
|
||||
static NSString *const kFIRParameterVirtualCurrencyName = @"virtual_currency_name";
|
||||
13
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h
generated
Executable file
@@ -0,0 +1,13 @@
|
||||
/// @file FIRUserPropertyNames.h
|
||||
///
|
||||
/// Predefined user property names.
|
||||
///
|
||||
/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can
|
||||
/// later analyze different behaviors of various segments of your userbase. You may supply up to 25
|
||||
/// unique UserProperties per app, and you can use the name and value of your choosing for each one.
|
||||
/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and
|
||||
/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to
|
||||
/// 36 characters long. The "firebase_" prefix is reserved and should not be used.
|
||||
|
||||
/// The method used to sign in. For example, "google", "facebook" or "twitter".
|
||||
static NSString *const kFIRUserPropertySignUpMethod = @"sign_up_method";
|
||||
9
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h
generated
Executable file
@@ -0,0 +1,9 @@
|
||||
#import "FIRAnalyticsConfiguration.h"
|
||||
#import "FIRApp.h"
|
||||
#import "FIRConfiguration.h"
|
||||
#import "FIROptions.h"
|
||||
#import "FIRAnalytics+AppDelegate.h"
|
||||
#import "FIRAnalytics.h"
|
||||
#import "FIREventNames.h"
|
||||
#import "FIRParameterNames.h"
|
||||
#import "FIRUserPropertyNames.h"
|
||||
8
Task Master/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap
generated
Executable file
@@ -0,0 +1,8 @@
|
||||
framework module FirebaseAnalytics {
|
||||
umbrella header "FirebaseAnalytics.h"
|
||||
export *
|
||||
module * { export *}
|
||||
link "sqlite3"
|
||||
link "z"
|
||||
link framework "UIKit"
|
||||
}
|
||||
38
Task Master/Pods/FirebaseAuth/CHANGELOG.md
generated
Executable file
@@ -0,0 +1,38 @@
|
||||
# 2017-02-06 -- v3.1.1
|
||||
- Allows handling of additional errors when sending OOB action emails. The
|
||||
server can respond with the following new error messages:
|
||||
INVALID_MESSAGE_PAYLOAD,INVALID_SENDER and INVALID_RECIPIENT_EMAIL.
|
||||
- Removes incorrect reference to FIRAuthErrorCodeCredentialTooOld in FIRUser.h.
|
||||
- Provides additional error information from server if available.
|
||||
|
||||
# 2016-12-13 -- v3.1.0
|
||||
- Adds FIRAuth methods that enable the app to follow up with user actions
|
||||
delivered by email, such as verifying email address or reset password.
|
||||
- No longer applies the keychain workaround introduced in v3.0.5 on iOS 10.2
|
||||
simulator or above since the issue has been fixed.
|
||||
- Fixes nullability compilation warnings when used in Swift.
|
||||
- Better reports missing password error.
|
||||
|
||||
# 2016-10-24 -- v3.0.6
|
||||
- Switches to depend on open sourced GoogleToolboxForMac and GTMSessionFetcher.
|
||||
- Improves logging of keychain error when initializing.
|
||||
|
||||
# 2016-09-14 -- v3.0.5
|
||||
- Works around a keychain issue in iOS 10 simulator.
|
||||
- Reports the correct error for invalid email when signing in with email and
|
||||
password.
|
||||
|
||||
# 2016-07-18 -- v3.0.4
|
||||
- Fixes a race condition bug that could crash the app with an exception from
|
||||
NSURLSession on iOS 9.
|
||||
|
||||
# 2016-06-20 -- v3.0.3
|
||||
- Adds documentation for all possible errors returned by each method.
|
||||
- Improves error handling and messages for a variety of error conditions.
|
||||
- Whether or not an user is considered anonymous is now consistent with other
|
||||
platforms.
|
||||
- A saved signed in user is now siloed between different Firebase projects
|
||||
within the same app.
|
||||
|
||||
# 2016-05-18 -- v3.0.2
|
||||
- Initial public release.
|
||||
BIN
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/FirebaseAuth
generated
Executable file
488
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuth.h
generated
Executable file
@@ -0,0 +1,488 @@
|
||||
/** @file FIRAuth.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2015 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "FIRAuthErrors.h"
|
||||
|
||||
@class FIRApp;
|
||||
@class FIRAuth;
|
||||
@class FIRAuthCredential;
|
||||
@class FIRUser;
|
||||
@protocol FIRAuthStateListener;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/** @typedef FIRAuthStateDidChangeListenerHandle
|
||||
@brief The type of handle returned by @c FIRAuth.addAuthStateDidChangeListener:.
|
||||
*/
|
||||
typedef id<NSObject> FIRAuthStateDidChangeListenerHandle;
|
||||
|
||||
/** @typedef FIRAuthStateDidChangeListenerBlock
|
||||
@brief The type of block which can be registered as a listener for auth state did change events.
|
||||
|
||||
@param auth The FIRAuth object on which state changes occurred.
|
||||
@param user Optionally; the current signed in user, if any.
|
||||
*/
|
||||
typedef void(^FIRAuthStateDidChangeListenerBlock)(FIRAuth *auth, FIRUser *_Nullable user);
|
||||
|
||||
/**
|
||||
@brief The name of the @c NSNotificationCenter notification which is posted when the auth state
|
||||
changes (for example, a new token has been produced, a user signs in or signs out). The
|
||||
object parameter of the notification is the sender @c FIRAuth instance.
|
||||
*/
|
||||
extern NSString *const FIRAuthStateDidChangeNotification;
|
||||
|
||||
/** @typedef FIRAuthResultCallback
|
||||
@brief The type of block invoked when sign-in related events complete.
|
||||
|
||||
@param user Optionally; the signed in user, if any.
|
||||
@param error Optionally; if an error occurs, this is the NSError object that describes the
|
||||
problem. Set to nil otherwise.
|
||||
*/
|
||||
typedef void (^FIRAuthResultCallback)(FIRUser *_Nullable user, NSError *_Nullable error);
|
||||
|
||||
/** @typedef FIRProviderQueryCallback
|
||||
@brief The type of block invoked when a list of identity providers for a given email address is
|
||||
requested.
|
||||
|
||||
@param providers Optionally; a list of provider identifiers, if any.
|
||||
@see FIRGoogleAuthProviderID etc.
|
||||
@param error Optionally; if an error occurs, this is the NSError object that describes the
|
||||
problem. Set to nil otherwise.
|
||||
*/
|
||||
typedef void (^FIRProviderQueryCallback)(NSArray<NSString *> *_Nullable providers,
|
||||
NSError *_Nullable error);
|
||||
|
||||
/** @typedef FIRSendPasswordResetCallback
|
||||
@brief The type of block invoked when sending a password reset email.
|
||||
|
||||
@param error Optionally; if an error occurs, this is the NSError object that describes the
|
||||
problem. Set to nil otherwise.
|
||||
*/
|
||||
typedef void (^FIRSendPasswordResetCallback)(NSError *_Nullable error);
|
||||
|
||||
/** @typedef FIRConfirmPasswordResetCallback
|
||||
@brief The type of block invoked when performing a password reset.
|
||||
|
||||
@param error Optionally; if an error occurs, this is the NSError object that describes the
|
||||
problem. Set to nil otherwise.
|
||||
*/
|
||||
typedef void (^FIRConfirmPasswordResetCallback)(NSError *_Nullable error);
|
||||
|
||||
/** @typedef FIRVerifyPasswordResetCodeCallback
|
||||
@brief The type of block invoked when verifying that an out of band code should be used to
|
||||
perform password reset.
|
||||
|
||||
@param email Optionally; the email address of the user for which the out of band code applies.
|
||||
@param error Optionally; if an error occurs, this is the NSError object that describes the
|
||||
problem. Set to nil otherwise.
|
||||
*/
|
||||
typedef void (^FIRVerifyPasswordResetCodeCallback)(NSString *_Nullable email,
|
||||
NSError *_Nullable error);
|
||||
|
||||
/** @typedef FIRApplyActionCodeCallback
|
||||
@brief The type of block invoked when applying an action code.
|
||||
|
||||
@param error Optionally; if an error occurs, this is the NSError object that describes the
|
||||
problem. Set to nil otherwise.
|
||||
*/
|
||||
typedef void (^FIRApplyActionCodeCallback)(NSError *_Nullable error);
|
||||
|
||||
/**
|
||||
@brief Keys used to retrieve operation data from a @c FIRActionCodeInfo object by the @c
|
||||
dataForKey method.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, FIRActionDataKey) {
|
||||
/**
|
||||
* The email address to which the code was sent.
|
||||
* For FIRActionCodeOperationRecoverEmail, the new email address for the account.
|
||||
*/
|
||||
FIRActionCodeEmailKey = 0,
|
||||
|
||||
/** For FIRActionCodeOperationRecoverEmail, the current email address for the account. */
|
||||
FIRActionCodeFromEmailKey = 1
|
||||
};
|
||||
|
||||
/** @class FIRActionCodeInfo
|
||||
@brief Manages information regarding action codes.
|
||||
*/
|
||||
@interface FIRActionCodeInfo : NSObject
|
||||
|
||||
/**
|
||||
@brief Operations which can be performed with action codes.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, FIRActionCodeOperation) {
|
||||
/** Action code for unknown operation. */
|
||||
FIRActionCodeOperationUnknown = 0,
|
||||
|
||||
/** Action code for password reset operation. */
|
||||
FIRActionCodeOperationPasswordReset = 1,
|
||||
|
||||
/** Action code for verify email operation. */
|
||||
FIRActionCodeOperationVerifyEmail = 2
|
||||
};
|
||||
|
||||
/**
|
||||
@brief The operation being performed.
|
||||
*/
|
||||
@property(nonatomic, readonly) FIRActionCodeOperation operation;
|
||||
|
||||
/** @fn dataForKey:
|
||||
@brief The operation being performed.
|
||||
|
||||
@param key The FIRActionDataKey value used to retrieve the operation data.
|
||||
|
||||
@return The operation data pertaining to the provided action code key.
|
||||
*/
|
||||
- (NSString *)dataForKey:(FIRActionDataKey)key;
|
||||
|
||||
/** @fn init
|
||||
@brief please use initWithOperation: instead.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
/** @typedef FIRCheckActionCodeCallBack
|
||||
@brief The type of block invoked when performing a check action code operation.
|
||||
|
||||
@param info Metadata corresponding to the action code.
|
||||
@param error Optionally; if an error occurs, this is the NSError object that describes the
|
||||
problem. Set to nil otherwise.
|
||||
*/
|
||||
typedef void (^FIRCheckActionCodeCallBack)(FIRActionCodeInfo *_Nullable info,
|
||||
NSError *_Nullable error);
|
||||
|
||||
/** @class FIRAuth
|
||||
@brief Manages authentication for Firebase apps.
|
||||
@remarks This class is thread-safe.
|
||||
*/
|
||||
@interface FIRAuth : NSObject
|
||||
|
||||
/** @fn auth
|
||||
@brief Gets the auth object for the default Firebase app.
|
||||
@remarks Thread safe.
|
||||
*/
|
||||
+ (nullable FIRAuth *)auth NS_SWIFT_NAME(auth());
|
||||
|
||||
/** @fn authWithApp:
|
||||
@brief Gets the auth object for a @c FIRApp.
|
||||
|
||||
@param app The FIRApp for which to retrieve the associated FIRAuth instance.
|
||||
@return The FIRAuth instance associated with the given FIRApp.
|
||||
*/
|
||||
+ (nullable FIRAuth *)authWithApp:(FIRApp *)app;
|
||||
|
||||
/** @property app
|
||||
@brief Gets the @c FIRApp object that this auth object is connected to.
|
||||
*/
|
||||
@property(nonatomic, weak, readonly, nullable) FIRApp *app;
|
||||
|
||||
/** @property currentUser
|
||||
@brief Synchronously gets the cached current user, or null if there is none.
|
||||
*/
|
||||
@property(nonatomic, strong, readonly, nullable) FIRUser *currentUser;
|
||||
|
||||
/** @fn init
|
||||
@brief Please access auth instances using @c FIRAuth.auth and @c FIRAuth.authForApp:.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
/** @fn fetchProvidersForEmail:completion:
|
||||
@brief Fetches the list of IdPs that can be used for signing in with the provided email address.
|
||||
Useful for an "identifier-first" sign-in flow.
|
||||
|
||||
@param email The email address for which to obtain a list of identity providers.
|
||||
@param completion Optionally; a block which is invoked when the list of providers for the
|
||||
specified email address is ready or an error was encountered. Invoked asynchronously on the
|
||||
main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed.</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)fetchProvidersForEmail:(NSString *)email
|
||||
completion:(nullable FIRProviderQueryCallback)completion;
|
||||
|
||||
/** @fn signInWithEmail:password:completion:
|
||||
@brief Signs in using an email address and password.
|
||||
|
||||
@param email The user's email address.
|
||||
@param password The user's password.
|
||||
@param completion Optionally; a block which is invoked when the sign in flow finishes, or is
|
||||
canceled. Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeOperationNotAllowed - Indicates that email and password
|
||||
accounts are not enabled. Enable them in the Auth section of the
|
||||
Firebase console.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeUserDisabled - Indicates the user's account is disabled.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeWrongPassword - Indicates the user attempted
|
||||
sign in with an incorrect password.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)signInWithEmail:(NSString *)email
|
||||
password:(NSString *)password
|
||||
completion:(nullable FIRAuthResultCallback)completion;
|
||||
|
||||
/** @fn signInWithCredential:completion:
|
||||
@brief Asynchronously signs in to Firebase with the given 3rd-party credentials (e.g. a Facebook
|
||||
login Access Token, a Google ID Token/Access Token pair, etc.)
|
||||
|
||||
@param credential The credential supplied by the IdP.
|
||||
@param completion Optionally; a block which is invoked when the sign in flow finishes, or is
|
||||
canceled. Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeInvalidCredential - Indicates the supplied credential is invalid.
|
||||
This could happen if it has expired or it is malformed.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeOperationNotAllowed - Indicates that accounts
|
||||
with the identity provider represented by the credential are not enabled.
|
||||
Enable them in the Auth section of the Firebase console.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeEmailAlreadyInUse - Indicates the email asserted by the credential
|
||||
(e.g. the email in a Facebook access token) is already in use by an existing account,
|
||||
that cannot be authenticated with this sign-in method. Call fetchProvidersForEmail for
|
||||
this user’s email and then prompt them to sign in with any of the sign-in providers
|
||||
returned. This error will only be thrown if the "One account per email address"
|
||||
setting is enabled in the Firebase console, under Auth settings. Please note that the
|
||||
error code raised in this specific situation may not be the same on
|
||||
Web and Android.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeUserDisabled - Indicates the user's account is disabled.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeWrongPassword - Indicates the user attempted sign in with an
|
||||
incorrect password, if credential is of the type EmailPasswordAuthCredential.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)signInWithCredential:(FIRAuthCredential *)credential
|
||||
completion:(nullable FIRAuthResultCallback)completion;
|
||||
|
||||
/** @fn signInAnonymouslyWithCompletion:
|
||||
@brief Asynchronously creates and becomes an anonymous user.
|
||||
@param completion Optionally; a block which is invoked when the sign in finishes, or is
|
||||
canceled. Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks If there is already an anonymous user signed in, that user will be returned instead.
|
||||
If there is any other existing user signed in, that user will be signed out.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeOperationNotAllowed - Indicates that anonymous accounts are
|
||||
not enabled. Enable them in the Auth section of the Firebase console.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)signInAnonymouslyWithCompletion:(nullable FIRAuthResultCallback)completion;
|
||||
|
||||
/** @fn signInWithCustomToken:completion:
|
||||
@brief Asynchronously signs in to Firebase with the given Auth token.
|
||||
|
||||
@param token A self-signed custom auth token.
|
||||
@param completion Optionally; a block which is invoked when the sign in finishes, or is
|
||||
canceled. Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeInvalidCustomToken - Indicates a validation error with
|
||||
the custom token.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeCustomTokenMismatch - Indicates the service account and the API key
|
||||
belong to different projects.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)signInWithCustomToken:(NSString *)token
|
||||
completion:(nullable FIRAuthResultCallback)completion;
|
||||
|
||||
/** @fn createUserWithEmail:password:completion:
|
||||
@brief Creates and, on success, signs in a user with the given email address and password.
|
||||
|
||||
@param email The user's email address.
|
||||
@param password The user's desired password.
|
||||
@param completion Optionally; a block which is invoked when the sign up flow finishes, or is
|
||||
canceled. Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeEmailAlreadyInUse - Indicates the email used to attempt sign up
|
||||
already exists. Call fetchProvidersForEmail to check which sign-in mechanisms the user
|
||||
used, and prompt the user to sign in with one of those.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeOperationNotAllowed - Indicates that email and password accounts
|
||||
are not enabled. Enable them in the Auth section of the Firebase console.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeWeakPassword - Indicates an attempt to set a password that is
|
||||
considered too weak. The NSLocalizedFailureReasonErrorKey field in the NSError.userInfo
|
||||
dictionary object will contain more detailed explanation that can be shown to the user.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)createUserWithEmail:(NSString *)email
|
||||
password:(NSString *)password
|
||||
completion:(nullable FIRAuthResultCallback)completion;
|
||||
|
||||
/** @fn confirmPasswordResetWithCode:newPassword:completion:
|
||||
@brief Resets the password given a code sent to the user outside of the app and a new password
|
||||
for the user.
|
||||
|
||||
@param newPassword The new password.
|
||||
@param completion Optionally; a block which is invoked when the request finishes. Invoked
|
||||
asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeWeakPassword - Indicates an attempt to set a password that is
|
||||
considered too weak.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeOperationNotAllowed - Indicates the administrator disabled sign
|
||||
in with the specified identity provider.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeExpiredActionCode - Indicates the OOB code is expired.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidActionCode - Indicates the OOB code is invalid.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)confirmPasswordResetWithCode:(NSString *)code
|
||||
newPassword:(NSString *)newPassword
|
||||
completion:(FIRConfirmPasswordResetCallback)completion;
|
||||
|
||||
/** @fn checkActionCode:completion:
|
||||
@brief Checks the validity of an out of band code.
|
||||
|
||||
@param code The out of band code to check validity.
|
||||
@param completion Optionally; a block which is invoked when the request finishes. Invoked
|
||||
asynchronously on the main thread in the future.
|
||||
*/
|
||||
- (void)checkActionCode:(NSString *)code completion:(FIRCheckActionCodeCallBack)completion;
|
||||
|
||||
/** @fn verifyPasswordResetCode:completion:
|
||||
@brief Checks the validity of a verify password reset code.
|
||||
|
||||
@param code The password reset code to be verified.
|
||||
@param completion Optionally; a block which is invoked when the request finishes. Invoked
|
||||
asynchronously on the main thread in the future.
|
||||
*/
|
||||
- (void)verifyPasswordResetCode:(NSString *)code
|
||||
completion:(FIRVerifyPasswordResetCodeCallback)completion;
|
||||
|
||||
/** @fn applyActionCode:completion:
|
||||
@brief Applies out of band code.
|
||||
|
||||
@param code The out of band code to be applied.
|
||||
@param completion Optionally; a block which is invoked when the request finishes. Invoked
|
||||
asynchronously on the main thread in the future.
|
||||
|
||||
@remarks This method will not work for out of band codes which require an additional parameter,
|
||||
such as password reset code.
|
||||
*/
|
||||
- (void)applyActionCode:(NSString *)code
|
||||
completion:(FIRApplyActionCodeCallback)completion;
|
||||
|
||||
/** @fn sendPasswordResetWithEmail:completion:
|
||||
@brief Initiates a password reset for the given email address.
|
||||
|
||||
@param email The email address of the user.
|
||||
@param completion Optionally; a block which is invoked when the request finishes. Invoked
|
||||
asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeInvalidRecipientEmail - Indicates an invalid recipient email was
|
||||
sent in the request.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidSender - Indicates an invalid sender email is set in
|
||||
the console for this action.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidMessagePayload - Indicates an invalid email template for
|
||||
sending update email.
|
||||
</li>
|
||||
</ul>
|
||||
*/
|
||||
- (void)sendPasswordResetWithEmail:(NSString *)email
|
||||
completion:(nullable FIRSendPasswordResetCallback)completion;
|
||||
|
||||
/** @fn signOut:
|
||||
@brief Signs out the current user.
|
||||
|
||||
@param error Optionally; if an error occurs, upon return contains an NSError object that
|
||||
describes the problem; is nil otherwise.
|
||||
@return @YES when the sign out request was successful. @NO otherwise.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeKeychainError - Indicates an error occurred when accessing the
|
||||
keychain. The @c NSLocalizedFailureReasonErrorKey field in the @c NSError.userInfo
|
||||
dictionary will contain more information about the error encountered.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
*/
|
||||
- (BOOL)signOut:(NSError *_Nullable *_Nullable)error;
|
||||
|
||||
/** @fn addAuthStateDidChangeListener:
|
||||
@brief Registers a block as an "auth state did change" listener. To be invoked when:
|
||||
|
||||
+ The block is registered as a listener,
|
||||
+ The current user changes, or,
|
||||
+ The current user's access token changes.
|
||||
|
||||
@param listener The block to be invoked. The block is always invoked asynchronously on the main
|
||||
thread, even for it's initial invocation after having been added as a listener.
|
||||
|
||||
@remarks The block is invoked immediately after adding it according to it's standard invocation
|
||||
semantics, asynchronously on the main thread. Users should pay special attention to
|
||||
making sure the block does not inadvertently retain objects which should not be retained by
|
||||
the long-lived block. The block itself will be retained by @c FIRAuth until it is
|
||||
unregistered or until the @c FIRAuth instance is otherwise deallocated.
|
||||
|
||||
@return A handle useful for manually unregistering the block as a listener.
|
||||
*/
|
||||
- (FIRAuthStateDidChangeListenerHandle)addAuthStateDidChangeListener:
|
||||
(FIRAuthStateDidChangeListenerBlock)listener;
|
||||
|
||||
/** @fn removeAuthStateDidChangeListener:
|
||||
@brief Unregisters a block as an "auth state did change" listener.
|
||||
|
||||
@param listenerHandle The handle for the listener.
|
||||
*/
|
||||
- (void)removeAuthStateDidChangeListener:(FIRAuthStateDidChangeListenerHandle)listenerHandle;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
31
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthCredential.h
generated
Executable file
@@ -0,0 +1,31 @@
|
||||
/** @file FIRAuthCredential.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2015 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/** @class FIRAuthCredential
|
||||
@brief Represents a credential.
|
||||
*/
|
||||
@interface FIRAuthCredential : NSObject
|
||||
|
||||
/** @property provider
|
||||
@brief Gets the name of the identity provider for the credential.
|
||||
*/
|
||||
@property(nonatomic, copy, readonly) NSString *provider;
|
||||
|
||||
/** @fn init
|
||||
@brief This is an abstract base class. Concrete instances should be created via factory
|
||||
methods available in the various authentication provider libraries (like the Facebook
|
||||
provider or the Google provider libraries.)
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
176
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRAuthErrors.h
generated
Executable file
@@ -0,0 +1,176 @@
|
||||
/** @file FIRAuthErrors.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2015 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/** @class FIRAuthErrors
|
||||
@remarks Error Codes common to all API Methods:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeNetworkError</li>
|
||||
<li>@c FIRAuthErrorCodeUserNotFound</li>
|
||||
<li>@c FIRAuthErrorCodeUserTokenExpired</li>
|
||||
<li>@c FIRAuthErrorCodeTooManyRequests</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidAPIKey</li>
|
||||
<li>@c FIRAuthErrorCodeAppNotAuthorized</li>
|
||||
<li>@c FIRAuthErrorCodeKeychainError</li>
|
||||
<li>@c FIRAuthErrorCodeInternalError</li>
|
||||
</ul>
|
||||
@remarks Common error codes for @c FIRUser operations:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeInvalidUserToken</li>
|
||||
<li>@c FIRAuthErrorCodeUserDisabled</li>
|
||||
</ul>
|
||||
*/
|
||||
@interface FIRAuthErrors
|
||||
|
||||
/**
|
||||
@brief The Firebase Auth error domain.
|
||||
*/
|
||||
extern NSString *const FIRAuthErrorDomain;
|
||||
|
||||
/**
|
||||
@brief The name of the key for the "error_name" string in the NSError userinfo dictionary.
|
||||
*/
|
||||
extern NSString *const FIRAuthErrorNameKey;
|
||||
|
||||
/**
|
||||
@brief Error codes used by Firebase Auth.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, FIRAuthErrorCode) {
|
||||
/** Indicates a validation error with the custom token.
|
||||
*/
|
||||
FIRAuthErrorCodeInvalidCustomToken = 17000,
|
||||
|
||||
/** Indicates the service account and the API key belong to different projects.
|
||||
*/
|
||||
FIRAuthErrorCodeCustomTokenMismatch = 17002,
|
||||
|
||||
/** Indicates the IDP token or requestUri is invalid.
|
||||
*/
|
||||
FIRAuthErrorCodeInvalidCredential = 17004,
|
||||
|
||||
/** Indicates the user's account is disabled on the server.
|
||||
*/
|
||||
FIRAuthErrorCodeUserDisabled = 17005,
|
||||
|
||||
/** Indicates the administrator disabled sign in with the specified identity provider.
|
||||
*/
|
||||
FIRAuthErrorCodeOperationNotAllowed = 17006,
|
||||
|
||||
/** Indicates the email used to attempt a sign up is already in use.
|
||||
*/
|
||||
FIRAuthErrorCodeEmailAlreadyInUse = 17007,
|
||||
|
||||
/** Indicates the email is invalid.
|
||||
*/
|
||||
FIRAuthErrorCodeInvalidEmail = 17008,
|
||||
|
||||
/** Indicates the user attempted sign in with a wrong password.
|
||||
*/
|
||||
FIRAuthErrorCodeWrongPassword = 17009,
|
||||
|
||||
/** Indicates that too many requests were made to a server method.
|
||||
*/
|
||||
FIRAuthErrorCodeTooManyRequests = 17010,
|
||||
|
||||
/** Indicates the user account was not found.
|
||||
*/
|
||||
FIRAuthErrorCodeUserNotFound = 17011,
|
||||
|
||||
/** Indicates account linking is required.
|
||||
*/
|
||||
FIRAuthErrorCodeAccountExistsWithDifferentCredential = 17012,
|
||||
|
||||
/** Same enum as @c FIRAuthErrorCodeAccountExistsWithDifferentCredential ,
|
||||
but with incorrect spelling. Only exists for backwards compatiblity.
|
||||
*/
|
||||
FIRAuthErrrorCodeAccountExistsWithDifferentCredential = 17012,
|
||||
|
||||
/** Indicates the user has attemped to change email or password more than 5 minutes after
|
||||
signing in.
|
||||
*/
|
||||
FIRAuthErrorCodeRequiresRecentLogin = 17014,
|
||||
|
||||
/** Indicates an attempt to link a provider to which the account is already linked.
|
||||
*/
|
||||
FIRAuthErrorCodeProviderAlreadyLinked = 17015,
|
||||
|
||||
/** Indicates an attempt to unlink a provider that is not linked.
|
||||
*/
|
||||
FIRAuthErrorCodeNoSuchProvider = 17016,
|
||||
|
||||
/** Indicates user's saved auth credential is invalid, the user needs to sign in again.
|
||||
*/
|
||||
FIRAuthErrorCodeInvalidUserToken = 17017,
|
||||
|
||||
/** Indicates a network error occurred (such as a timeout, interrupted connection, or
|
||||
unreachable host). These types of errors are often recoverable with a retry. The @c
|
||||
NSUnderlyingError field in the @c NSError.userInfo dictionary will contain the error
|
||||
encountered.
|
||||
*/
|
||||
FIRAuthErrorCodeNetworkError = 17020,
|
||||
|
||||
/** Indicates the saved token has expired, for example, the user may have changed account
|
||||
password on another device. The user needs to sign in again on the device that made this
|
||||
request.
|
||||
*/
|
||||
FIRAuthErrorCodeUserTokenExpired = 17021,
|
||||
|
||||
/** Indicates an invalid API key was supplied in the request.
|
||||
*/
|
||||
FIRAuthErrorCodeInvalidAPIKey = 17023,
|
||||
|
||||
/** Indicates that an attempt was made to reauthenticate with a user which is not the current
|
||||
user.
|
||||
*/
|
||||
FIRAuthErrorCodeUserMismatch = 17024,
|
||||
|
||||
/** Indicates an attempt to link with a credential that has already been linked with a
|
||||
different Firebase account
|
||||
*/
|
||||
FIRAuthErrorCodeCredentialAlreadyInUse = 17025,
|
||||
|
||||
/** Indicates an attempt to set a password that is considered too weak.
|
||||
*/
|
||||
FIRAuthErrorCodeWeakPassword = 17026,
|
||||
|
||||
/** Indicates the App is not authorized to use Firebase Authentication with the
|
||||
provided API Key.
|
||||
*/
|
||||
FIRAuthErrorCodeAppNotAuthorized = 17028,
|
||||
|
||||
/** Indicates the OOB code is expired.
|
||||
*/
|
||||
FIRAuthErrorCodeExpiredActionCode = 17029,
|
||||
|
||||
/** Indicates the OOB code is invalid.
|
||||
*/
|
||||
FIRAuthErrorCodeInvalidActionCode = 17030,
|
||||
|
||||
/** Indicates that there are invalid parameters in the payload during a "send password reset
|
||||
* email" attempt.
|
||||
*/
|
||||
FIRAuthErrorCodeInvalidMessagePayload = 17031,
|
||||
|
||||
/** Indicates that the sender email is invalid during a "send password reset email" attempt.
|
||||
*/
|
||||
FIRAuthErrorCodeInvalidSender = 17032,
|
||||
|
||||
/** Indicates that the recipient email is invalid.
|
||||
*/
|
||||
FIRAuthErrorCodeInvalidRecipientEmail = 17033,
|
||||
|
||||
/** Indicates an error occurred while attempting to access the keychain.
|
||||
*/
|
||||
FIRAuthErrorCodeKeychainError = 17995,
|
||||
|
||||
/** Indicates an internal error occurred.
|
||||
*/
|
||||
FIRAuthErrorCodeInternalError = 17999,
|
||||
};
|
||||
|
||||
@end
|
||||
40
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIREmailPasswordAuthProvider.h
generated
Executable file
@@ -0,0 +1,40 @@
|
||||
/** @file FIREmailPasswordAuthProvider.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2016 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class FIRAuthCredential;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
@brief A string constant identifying the email & password identity provider.
|
||||
*/
|
||||
extern NSString *const FIREmailPasswordAuthProviderID;
|
||||
|
||||
/** @class FIREmailPasswordAuthProvider
|
||||
@brief A concrete implementation of @c FIRAuthProvider for Email & Password Sign In.
|
||||
*/
|
||||
@interface FIREmailPasswordAuthProvider : NSObject
|
||||
|
||||
/** @fn credentialWithEmail:password:
|
||||
@brief Creates an @c FIRAuthCredential for an email & password sign in.
|
||||
|
||||
@param email The user's email address.
|
||||
@param password The user's password.
|
||||
@return A FIRAuthCredential containing the email & password credential.
|
||||
*/
|
||||
+ (FIRAuthCredential *)credentialWithEmail:(NSString *)email password:(NSString *)password;
|
||||
|
||||
/** @fn init
|
||||
@brief This class is not meant to be initialized.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
39
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRFacebookAuthProvider.h
generated
Executable file
@@ -0,0 +1,39 @@
|
||||
/** @file FIRFacebookAuthProvider.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2016 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class FIRAuthCredential;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
@brief A string constant identifying the Facebook identity provider.
|
||||
*/
|
||||
extern NSString *const FIRFacebookAuthProviderID;
|
||||
|
||||
/** @class FIRFacebookAuthProvider
|
||||
@brief Utility class for constructing Facebook credentials.
|
||||
*/
|
||||
@interface FIRFacebookAuthProvider : NSObject
|
||||
|
||||
/** @fn credentialWithAccessToken:
|
||||
@brief Creates an @c FIRAuthCredential for a Facebook sign in.
|
||||
|
||||
@param accessToken The Access Token from Facebook.
|
||||
@return A FIRAuthCredential containing the Facebook credentials.
|
||||
*/
|
||||
+ (FIRAuthCredential *)credentialWithAccessToken:(NSString *)accessToken;
|
||||
|
||||
/** @fn init
|
||||
@brief This class should not be initialized.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
39
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGitHubAuthProvider.h
generated
Executable file
@@ -0,0 +1,39 @@
|
||||
/** @file FIRGitHubAuthProvider.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2016 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class FIRAuthCredential;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
@brief A string constant identifying the GitHub identity provider.
|
||||
*/
|
||||
extern NSString *const FIRGitHubAuthProviderID;
|
||||
|
||||
/** @class FIRGitHubAuthProvider
|
||||
@brief Utility class for constructing GitHub credentials.
|
||||
*/
|
||||
@interface FIRGitHubAuthProvider : NSObject
|
||||
|
||||
/** @fn credentialWithToken:
|
||||
@brief Creates an @c FIRAuthCredential for a GitHub sign in.
|
||||
|
||||
@param token The GitHub OAuth access token.
|
||||
@return A FIRAuthCredential containing the GitHub credential.
|
||||
*/
|
||||
+ (FIRAuthCredential *)credentialWithToken:(NSString *)token;
|
||||
|
||||
/** @fn init
|
||||
@brief This class is not meant to be initialized.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
41
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRGoogleAuthProvider.h
generated
Executable file
@@ -0,0 +1,41 @@
|
||||
/** @file FIRGoogleAuthProvider.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2016 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class FIRAuthCredential;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
@brief A string constant identifying the Google identity provider.
|
||||
*/
|
||||
extern NSString *const FIRGoogleAuthProviderID;
|
||||
|
||||
/** @class FIRGoogleAuthProvider
|
||||
@brief Utility class for constructing Google Sign In credentials.
|
||||
*/
|
||||
@interface FIRGoogleAuthProvider : NSObject
|
||||
|
||||
/** @fn credentialWithIDToken:accessToken:
|
||||
@brief Creates an @c FIRAuthCredential for a Google sign in.
|
||||
|
||||
@param IDToken The ID Token from Google.
|
||||
@param accessToken The Access Token from Google.
|
||||
@return A FIRAuthCredential containing the Google credentials.
|
||||
*/
|
||||
+ (FIRAuthCredential *)credentialWithIDToken:(NSString *)IDToken
|
||||
accessToken:(NSString *)accessToken;
|
||||
|
||||
/** @fn init
|
||||
@brief This class should not be initialized.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
40
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRTwitterAuthProvider.h
generated
Executable file
@@ -0,0 +1,40 @@
|
||||
/** @file FIRTwitterAuthProvider.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2016 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class FIRAuthCredential;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
@brief A string constant identifying the Twitter identity provider.
|
||||
*/
|
||||
extern NSString *const FIRTwitterAuthProviderID;
|
||||
|
||||
/** @class FIRTwitterAuthProvider
|
||||
@brief Utility class for constructing Twitter credentials.
|
||||
*/
|
||||
@interface FIRTwitterAuthProvider : NSObject
|
||||
|
||||
/** @fn credentialWithToken:secret:
|
||||
@brief Creates an @c FIRAuthCredential for a Twitter sign in.
|
||||
|
||||
@param token The Twitter OAuth token.
|
||||
@param secret The Twitter OAuth secret.
|
||||
@return A FIRAuthCredential containing the Twitter credential.
|
||||
*/
|
||||
+ (FIRAuthCredential *)credentialWithToken:(NSString *)token secret:(NSString *)secret;
|
||||
|
||||
/** @fn init
|
||||
@brief This class is not meant to be initialized.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
376
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUser.h
generated
Executable file
@@ -0,0 +1,376 @@
|
||||
/** @file FIRUser.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2015 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "FIRAuth.h"
|
||||
#import "FIRUserInfo.h"
|
||||
|
||||
@class FIRUserProfileChangeRequest;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/** @typedef FIRAuthTokenCallback
|
||||
@brief The type of block called when a token is ready for use.
|
||||
@see FIRUser.getTokenWithCompletion:
|
||||
@see FIRUser.getTokenForcingRefresh:withCompletion:
|
||||
|
||||
@param token Optionally; an access token if the request was successful.
|
||||
@param error Optionally; the error which occurred - or nil if the request was successful.
|
||||
|
||||
@remarks One of: @c token or @c error will always be non-nil.
|
||||
*/
|
||||
typedef void (^FIRAuthTokenCallback)(NSString *_Nullable token, NSError *_Nullable error);
|
||||
|
||||
/** @typedef FIRUserProfileChangeCallback
|
||||
@brief The type of block called when a user profile change has finished.
|
||||
|
||||
@param error Optionally; the error which occurred - or nil if the request was successful.
|
||||
*/
|
||||
typedef void (^FIRUserProfileChangeCallback)(NSError *_Nullable error);
|
||||
|
||||
/** @typedef FIRSendEmailVerificationCallback
|
||||
@brief The type of block called when a request to send an email verification has finished.
|
||||
|
||||
@param error Optionally; the error which occurred - or nil if the request was successful.
|
||||
*/
|
||||
typedef void (^FIRSendEmailVerificationCallback)(NSError *_Nullable error);
|
||||
|
||||
/** @class FIRUser
|
||||
@brief Represents a user.
|
||||
@remarks This class is thread-safe.
|
||||
*/
|
||||
@interface FIRUser : NSObject <FIRUserInfo>
|
||||
|
||||
/** @property anonymous
|
||||
@brief Indicates the user represents an anonymous user.
|
||||
*/
|
||||
@property(nonatomic, readonly, getter=isAnonymous) BOOL anonymous;
|
||||
|
||||
/** @property emailVerified
|
||||
@brief Indicates the email address associated with this user has been verified.
|
||||
*/
|
||||
@property(nonatomic, readonly, getter=isEmailVerified) BOOL emailVerified;
|
||||
|
||||
/** @property refreshToken
|
||||
@brief A refresh token; useful for obtaining new access tokens independently.
|
||||
@remarks This property should only be used for advanced scenarios, and is not typically needed.
|
||||
*/
|
||||
@property(nonatomic, readonly, nullable) NSString *refreshToken;
|
||||
|
||||
/** @property providerData
|
||||
@brief Profile data for each identity provider, if any.
|
||||
@remarks This data is cached on sign-in and updated when linking or unlinking.
|
||||
*/
|
||||
@property(nonatomic, readonly, nonnull) NSArray<id<FIRUserInfo>> *providerData;
|
||||
|
||||
/** @fn init
|
||||
@brief This class should not be instantiated.
|
||||
@remarks To retrieve the current user, use @c FIRAuth.currentUser. To sign a user
|
||||
in or out, use the methods on @c FIRAuth.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
/** @fn updateEmail:completion:
|
||||
@brief Updates the email address for the user. On success, the cached user profile data is
|
||||
updated.
|
||||
@remarks May fail if there is already an account with this email address that was created using
|
||||
email and password authentication.
|
||||
|
||||
@param email The email address for the user.
|
||||
@param completion Optionally; the block invoked when the user profile change has finished.
|
||||
Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeInvalidRecipientEmail - Indicates an invalid recipient email was
|
||||
sent in the request.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidSender - Indicates an invalid sender email is set in
|
||||
the console for this action.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidMessagePayload - Indicates an invalid email template for
|
||||
sending update email.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeEmailAlreadyInUse - Indicates the email is already in use by another
|
||||
account.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeRequiresRecentLogin - Updating a user’s email is a security
|
||||
sensitive operation that requires a recent login from the user. This error indicates
|
||||
the user has not signed in recently enough. To resolve, reauthenticate the user by
|
||||
invoking reauthenticateWithCredential:completion: on FIRUser.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all FIRUser methods.
|
||||
*/
|
||||
- (void)updateEmail:(NSString *)email completion:(nullable FIRUserProfileChangeCallback)completion;
|
||||
|
||||
/** @fn updatePassword:completion:
|
||||
@brief Updates the password for the user. On success, the cached user profile data is updated.
|
||||
|
||||
@param password The new password for the user.
|
||||
@param completion Optionally; the block invoked when the user profile change has finished.
|
||||
Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeOperationNotAllowed - Indicates the administrator disabled
|
||||
sign in with the specified identity provider.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeRequiresRecentLogin - Updating a user’s password is a security
|
||||
sensitive operation that requires a recent login from the user. This error indicates
|
||||
the user has not signed in recently enough. To resolve, reauthenticate the user by
|
||||
invoking reauthenticateWithCredential:completion: on FIRUser.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeWeakPassword - Indicates an attempt to set a password that is
|
||||
considered too weak. The NSLocalizedFailureReasonErrorKey field in the NSError.userInfo
|
||||
dictionary object will contain more detailed explanation that can be shown to the user.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all FIRUser methods.
|
||||
*/
|
||||
- (void)updatePassword:(NSString *)password
|
||||
completion:(nullable FIRUserProfileChangeCallback)completion;
|
||||
|
||||
/** @fn profileChangeRequest
|
||||
@brief Creates an object which may be used to change the user's profile data.
|
||||
|
||||
@remarks Set the properties of the returned object, then call
|
||||
@c FIRUserProfileChangeRequest.commitChangesWithCallback: to perform the updates atomically.
|
||||
|
||||
@return An object which may be used to change the user's profile data atomically.
|
||||
*/
|
||||
- (FIRUserProfileChangeRequest *)profileChangeRequest;
|
||||
|
||||
/** @fn reloadWithCompletion:
|
||||
@brief Reloads the user's profile data from the server.
|
||||
|
||||
@param completion Optionally; the block invoked when the reload has finished. Invoked
|
||||
asynchronously on the main thread in the future.
|
||||
|
||||
@remarks May fail with a @c FIRAuthErrorCodeRequiresRecentLogin error code. In this case
|
||||
you should call @c FIRUser.reauthenticateWithCredential:completion: before re-invoking
|
||||
@c FIRUser.updateEmail:completion:.
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)reloadWithCompletion:(nullable FIRUserProfileChangeCallback)completion;
|
||||
|
||||
/** @fn reauthenticateWithCredential:completion:
|
||||
@brief Renews the user's authentication tokens by validating a fresh set of credentials supplied
|
||||
by the user.
|
||||
|
||||
@param credential A user-supplied credential, which will be validated by the server. This can be
|
||||
a successful third-party identity provider sign-in, or an email address and password.
|
||||
@param completion Optionally; the block invoked when the re-authentication operation has
|
||||
finished. Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks If the user associated with the supplied credential is different from the current user,
|
||||
or if the validation of the supplied credentials fails; an error is returned and the current
|
||||
user remains signed in.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeInvalidCredential - Indicates the supplied credential is invalid.
|
||||
This could happen if it has expired or it is malformed.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeOperationNotAllowed - Indicates that accounts with the
|
||||
identity provider represented by the credential are not enabled. Enable them in the
|
||||
Auth section of the Firebase console.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeEmailAlreadyInUse - Indicates the email asserted by the credential
|
||||
(e.g. the email in a Facebook access token) is already in use by an existing account,
|
||||
that cannot be authenticated with this method. Call fetchProvidersForEmail for
|
||||
this user’s email and then prompt them to sign in with any of the sign-in providers
|
||||
returned. This error will only be thrown if the "One account per email address"
|
||||
setting is enabled in the Firebase console, under Auth settings. Please note that the
|
||||
error code raised in this specific situation may not be the same on Web and Android.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeUserDisabled - Indicates the user's account is disabled.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeWrongPassword - Indicates the user attempted reauthentication with
|
||||
an incorrect password, if credential is of the type EmailPasswordAuthCredential.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeUserMismatch - Indicates that an attempt was made to
|
||||
reauthenticate with a user which is not the current user.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidEmail - Indicates the email address is malformed.</li>
|
||||
</ul>
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)reauthenticateWithCredential:(FIRAuthCredential *)credential
|
||||
completion:(nullable FIRUserProfileChangeCallback)completion;
|
||||
|
||||
/** @fn getTokenWithCompletion:
|
||||
@brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired.
|
||||
|
||||
@param completion Optionally; the block invoked when the token is available. Invoked
|
||||
asynchronously on the main thread in the future.
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)getTokenWithCompletion:(nullable FIRAuthTokenCallback)completion;
|
||||
|
||||
/** @fn getTokenForcingRefresh:completion:
|
||||
@brief Retrieves the Firebase authentication token, possibly refreshing it if it has expired.
|
||||
|
||||
@param forceRefresh Forces a token refresh. Useful if the token becomes invalid for some reason
|
||||
other than an expiration.
|
||||
@param completion Optionally; the block invoked when the token is available. Invoked
|
||||
asynchronously on the main thread in the future.
|
||||
|
||||
@remarks The authentication token will be refreshed (by making a network request) if it has
|
||||
expired, or if @c forceRefresh is YES.
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all API methods.
|
||||
*/
|
||||
- (void)getTokenForcingRefresh:(BOOL)forceRefresh
|
||||
completion:(nullable FIRAuthTokenCallback)completion;
|
||||
|
||||
/** @fn linkWithCredential:completion:
|
||||
@brief Associates a user account from a third-party identity provider with this user.
|
||||
|
||||
@param credential The credential for the identity provider.
|
||||
@param completion Optionally; the block invoked when the unlinking is complete, or fails.
|
||||
Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeProviderAlreadyLinked - Indicates an attempt to link a provider of a
|
||||
type already linked to this account.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeCredentialAlreadyInUse - Indicates an attempt to link with a
|
||||
credential
|
||||
that has already been linked with a different Firebase account.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeOperationNotAllowed - Indicates that accounts with the identity
|
||||
provider represented by the credential are not enabled. Enable them in the Auth section
|
||||
of the Firebase console.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks This method may also return error codes associated with updateEmail:completion: and
|
||||
updatePassword:completion: on FIRUser.
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all FIRUser methods.
|
||||
*/
|
||||
- (void)linkWithCredential:(FIRAuthCredential *)credential
|
||||
completion:(nullable FIRAuthResultCallback)completion;
|
||||
|
||||
/** @fn unlinkFromProvider:completion:
|
||||
@brief Disassociates a user account from a third-party identity provider with this user.
|
||||
|
||||
@param provider The provider ID of the provider to unlink.
|
||||
@param completion Optionally; the block invoked when the unlinking is complete, or fails.
|
||||
Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeNoSuchProvider - Indicates an attempt to unlink a provider
|
||||
that is not linked to the account.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeRequiresRecentLogin - Updating email is a security sensitive
|
||||
operation that requires a recent login from the user. This error indicates the user
|
||||
has not signed in recently enough. To resolve, reauthenticate the user by invoking
|
||||
reauthenticateWithCredential:completion: on FIRUser.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all FIRUser methods.
|
||||
*/
|
||||
- (void)unlinkFromProvider:(NSString *)provider
|
||||
completion:(nullable FIRAuthResultCallback)completion;
|
||||
|
||||
/** @fn sendEmailVerificationWithCompletion:
|
||||
@brief Initiates email verification for the user.
|
||||
|
||||
@param completion Optionally; the block invoked when the request to send an email verification
|
||||
is complete, or fails. Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeInvalidRecipientEmail - Indicates an invalid recipient email was
|
||||
sent in the request.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidSender - Indicates an invalid sender email is set in
|
||||
the console for this action.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeInvalidMessagePayload - Indicates an invalid email template for
|
||||
sending update email.
|
||||
</li>
|
||||
<li>@c FIRAuthErrorCodeUserNotFound - Indicates the user account was not found.</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all FIRUser methods.
|
||||
*/
|
||||
- (void)sendEmailVerificationWithCompletion:(nullable FIRSendEmailVerificationCallback)completion;
|
||||
|
||||
/** @fn deleteWithCompletion:
|
||||
@brief Deletes the user account (also signs out the user, if this was the current user).
|
||||
|
||||
@param completion Optionally; the block invoked when the request to delete the account is
|
||||
complete, or fails. Invoked asynchronously on the main thread in the future.
|
||||
|
||||
@remarks Possible error codes:
|
||||
<ul>
|
||||
<li>@c FIRAuthErrorCodeRequiresRecentLogin - Updating email is a security sensitive
|
||||
operation that requires a recent login from the user. This error indicates the user
|
||||
has not signed in recently enough. To resolve, reauthenticate the user by invoking
|
||||
reauthenticateWithCredential:completion: on FIRUser.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@remarks See @c FIRAuthErrors for a list of error codes that are common to all FIRUser methods.
|
||||
|
||||
*/
|
||||
- (void)deleteWithCompletion:(nullable FIRUserProfileChangeCallback)completion;
|
||||
|
||||
@end
|
||||
|
||||
/** @class FIRUserProfileChangeRequest
|
||||
@brief Represents an object capable of updating a user's profile data.
|
||||
@remarks Properties are marked as being part of a profile update when they are set. Setting a
|
||||
property value to nil is not the same as leaving the property unassigned.
|
||||
*/
|
||||
@interface FIRUserProfileChangeRequest : NSObject
|
||||
|
||||
/** @fn init
|
||||
@brief Please use @c FIRUser.profileChangeRequest
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
/** @property displayName
|
||||
@brief The user's display name.
|
||||
@remarks It is an error to set this property after calling
|
||||
@c FIRUserProfileChangeRequest.commitChangesWithCallback:
|
||||
*/
|
||||
@property(nonatomic, copy, nullable) NSString *displayName;
|
||||
|
||||
/** @property photoURL
|
||||
@brief The user's photo URL.
|
||||
@remarks It is an error to set this property after calling
|
||||
@c FIRUserProfileChangeRequest.commitChangesWithCallback:
|
||||
*/
|
||||
@property(nonatomic, copy, nullable) NSURL *photoURL;
|
||||
|
||||
/** @fn commitChangesWithCompletion:
|
||||
@brief Commits any pending changes.
|
||||
@remarks This method should only be called once. Once called, property values should not be
|
||||
changed.
|
||||
|
||||
@param completion Optionally; the block invoked when the user profile change has been applied.
|
||||
Invoked asynchronously on the main thread in the future.
|
||||
*/
|
||||
- (void)commitChangesWithCompletion:(nullable FIRUserProfileChangeCallback)completion;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
44
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FIRUserInfo.h
generated
Executable file
@@ -0,0 +1,44 @@
|
||||
/** @file FIRUserInfo.h
|
||||
@brief Firebase Auth SDK
|
||||
@copyright Copyright 2015 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
@brief Represents user data returned from an identity provider.
|
||||
*/
|
||||
@protocol FIRUserInfo <NSObject>
|
||||
|
||||
/** @property providerID
|
||||
@brief The provider identifier.
|
||||
*/
|
||||
@property(nonatomic, copy, readonly) NSString *providerID;
|
||||
|
||||
/** @property uid
|
||||
@brief The provider's user ID for the user.
|
||||
*/
|
||||
@property(nonatomic, copy, readonly) NSString *uid;
|
||||
|
||||
/** @property displayName
|
||||
@brief The name of the user.
|
||||
*/
|
||||
@property(nonatomic, copy, readonly, nullable) NSString *displayName;
|
||||
|
||||
/** @property photoURL
|
||||
@brief The URL of the user's profile photo.
|
||||
*/
|
||||
@property(nonatomic, copy, readonly, nullable) NSURL *photoURL;
|
||||
|
||||
/** @property email
|
||||
@brief The user's email address.
|
||||
*/
|
||||
@property(nonatomic, copy, readonly, nullable) NSString *email;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
11
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuth.h
generated
Executable file
@@ -0,0 +1,11 @@
|
||||
#import "FIREmailPasswordAuthProvider.h"
|
||||
#import "FIRFacebookAuthProvider.h"
|
||||
#import "FIRGitHubAuthProvider.h"
|
||||
#import "FIRGoogleAuthProvider.h"
|
||||
#import "FIRTwitterAuthProvider.h"
|
||||
#import "FIRAuth.h"
|
||||
#import "FIRAuthCredential.h"
|
||||
#import "FIRAuthErrors.h"
|
||||
#import "FIRUser.h"
|
||||
#import "FIRUserInfo.h"
|
||||
#import "FirebaseAuthVersion.h"
|
||||
18
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Headers/FirebaseAuthVersion.h
generated
Executable file
@@ -0,0 +1,18 @@
|
||||
/*! @file FirebaseAuthVersion.h
|
||||
@brief Firebase SDK
|
||||
@copyright Copyright 2016 Google Inc.
|
||||
@remarks Use of this SDK is subject to the Google APIs Terms of Service:
|
||||
https://developers.google.com/terms/
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/**
|
||||
Version number for FirebaseAuth.
|
||||
*/
|
||||
extern const double FirebaseAuthVersionNumber;
|
||||
|
||||
/**
|
||||
Version string for FirebaseAuth.
|
||||
*/
|
||||
extern const unsigned char *const FirebaseAuthVersionString;
|
||||
10
Task Master/Pods/FirebaseAuth/Frameworks/FirebaseAuth.framework/Modules/module.modulemap
generated
Executable file
@@ -0,0 +1,10 @@
|
||||
framework module FirebaseAuth {
|
||||
umbrella header "FirebaseAuth.h"
|
||||
export *
|
||||
module * { export *}
|
||||
link "z"
|
||||
link framework "CoreGraphics"
|
||||
link framework "Foundation"
|
||||
link framework "Security"
|
||||
link framework "UIKit"
|
||||
}
|
||||
8
Task Master/Pods/FirebaseAuth/README.md
generated
Executable file
@@ -0,0 +1,8 @@
|
||||
# Firebase Auth for iOS
|
||||
|
||||
Firebase Auth enables apps to easily support multiple authentication options
|
||||
for their end users.
|
||||
|
||||
Please visit [our developer site](https://developers.google.com/) for
|
||||
integration instructions, documentation, support information, and terms of
|
||||
service.
|
||||
BIN
Task Master/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/FirebaseCore
generated
Executable file
38
Task Master/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h
generated
Executable file
@@ -0,0 +1,38 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/**
|
||||
* This class provides configuration fields for Firebase Analytics.
|
||||
*/
|
||||
@interface FIRAnalyticsConfiguration : NSObject
|
||||
|
||||
/**
|
||||
* Returns the shared instance of FIRAnalyticsConfiguration.
|
||||
*/
|
||||
+ (FIRAnalyticsConfiguration *)sharedInstance;
|
||||
|
||||
/**
|
||||
* Sets the minimum engagement time in seconds required to start a new session. The default value
|
||||
* is 10 seconds.
|
||||
*/
|
||||
- (void)setMinimumSessionInterval:(NSTimeInterval)minimumSessionInterval;
|
||||
|
||||
/**
|
||||
* Sets the interval of inactivity in seconds that terminates the current session. The default
|
||||
* value is 1800 seconds (30 minutes).
|
||||
*/
|
||||
- (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval;
|
||||
|
||||
/**
|
||||
* Sets whether analytics collection is enabled for this app on this device. This setting is
|
||||
* persisted across app sessions. By default it is enabled.
|
||||
*/
|
||||
- (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled;
|
||||
|
||||
/**
|
||||
* Deprecated. Sets whether measurement and reporting are enabled for this app on this device. By
|
||||
* default they are enabled.
|
||||
*/
|
||||
- (void)setIsEnabled:(BOOL)isEnabled
|
||||
DEPRECATED_MSG_ATTRIBUTE("Use setAnalyticsCollectionEnabled: instead.");
|
||||
|
||||
@end
|
||||
98
Task Master/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRApp.h
generated
Executable file
@@ -0,0 +1,98 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@class FIROptions;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/** A block that takes a BOOL and has no return value. */
|
||||
typedef void (^FIRAppVoidBoolCallback)(BOOL success);
|
||||
|
||||
/**
|
||||
* The entry point of Firebase SDKs.
|
||||
*
|
||||
* Initialize and configure FIRApp using +[FIRApp configure]
|
||||
* or other customized ways as shown below.
|
||||
*
|
||||
* The logging system has two modes: default mode and debug mode. In default mode, only logs with
|
||||
* log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent
|
||||
* to device. The log levels that Firebase uses are consistent with the ASL log levels.
|
||||
*
|
||||
* Enable debug mode by passing the -FIRDebugEnabled argument to the application. You can add this
|
||||
* argument in the application's Xcode scheme. When debug mode is enabled via -FIRDebugEnabled,
|
||||
* further executions of the application will also be in debug mode. In order to return to default
|
||||
* mode, you must explicitly disable the debug mode with the application argument -FIRDebugDisabled.
|
||||
*
|
||||
* It is also possible to change the default logging level in code by calling setLoggerLevel: on
|
||||
* the FIRConfiguration interface.
|
||||
*/
|
||||
@interface FIRApp : NSObject
|
||||
|
||||
/**
|
||||
* Configures a default Firebase app. Raises an exception if any configuration step fails. The
|
||||
* default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched
|
||||
* and before using Firebase services. This method is thread safe.
|
||||
*/
|
||||
+ (void)configure;
|
||||
|
||||
/**
|
||||
* Configures the default Firebase app with the provided options. The default app is named
|
||||
* "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method is thread
|
||||
* safe.
|
||||
*
|
||||
* @param options The Firebase application options used to configure the service.
|
||||
*/
|
||||
+ (void)configureWithOptions:(FIROptions *)options;
|
||||
|
||||
/**
|
||||
* Configures a Firebase app with the given name and options. Raises an exception if any
|
||||
* configuration step fails. This method is thread safe.
|
||||
*
|
||||
* @param name The application's name given by the developer. The name should should only contain
|
||||
Letters, Numbers and Underscore.
|
||||
* @param options The Firebase application options used to configure the services.
|
||||
*/
|
||||
+ (void)configureWithName:(NSString *)name options:(FIROptions *)options;
|
||||
|
||||
/**
|
||||
* Returns the default app, or nil if the default app does not exist.
|
||||
*/
|
||||
+ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(defaultApp());
|
||||
|
||||
/**
|
||||
* Returns a previously created FIRApp instance with the given name, or nil if no such app exists.
|
||||
* This method is thread safe.
|
||||
*/
|
||||
+ (nullable FIRApp *)appNamed:(NSString *)name;
|
||||
|
||||
/**
|
||||
* Returns the set of all extant FIRApp instances, or nil if there are no FIRApp instances. This
|
||||
* method is thread safe.
|
||||
*/
|
||||
+ (nullable NSDictionary *)allApps;
|
||||
|
||||
/**
|
||||
* Cleans up the current FIRApp, freeing associated data and returning its name to the pool for
|
||||
* future use. This method is thread safe.
|
||||
*/
|
||||
- (void)deleteApp:(FIRAppVoidBoolCallback)completion;
|
||||
|
||||
/**
|
||||
* FIRApp instances should not be initialized directly. Call +[FIRApp configure],
|
||||
* +[FIRApp configureWithOptions:], or +[FIRApp configureWithNames:options:] directly.
|
||||
*/
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
|
||||
/**
|
||||
* Gets the name of this app.
|
||||
*/
|
||||
@property(nonatomic, copy, readonly) NSString *name;
|
||||
|
||||
/**
|
||||
* Gets the options for this app.
|
||||
*/
|
||||
@property(nonatomic, readonly) FIROptions *options;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
52
Task Master/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h
generated
Executable file
@@ -0,0 +1,52 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "FIRAnalyticsConfiguration.h"
|
||||
#import "FIRLoggerLevel.h"
|
||||
|
||||
/**
|
||||
* The log levels used by FIRConfiguration.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, FIRLogLevel) {
|
||||
/** Error */
|
||||
kFIRLogLevelError __deprecated = 0,
|
||||
/** Warning */
|
||||
kFIRLogLevelWarning __deprecated,
|
||||
/** Info */
|
||||
kFIRLogLevelInfo __deprecated,
|
||||
/** Debug */
|
||||
kFIRLogLevelDebug __deprecated,
|
||||
/** Assert */
|
||||
kFIRLogLevelAssert __deprecated,
|
||||
/** Max */
|
||||
kFIRLogLevelMax __deprecated = kFIRLogLevelAssert
|
||||
} DEPRECATED_MSG_ATTRIBUTE(
|
||||
"Use -FIRDebugEnabled and -FIRDebugDisabled or setLoggerLevel. See FIRApp.h for more details.");
|
||||
|
||||
/**
|
||||
* This interface provides global level properties that the developer can tweak, and the singleton
|
||||
* of the Firebase Analytics configuration class.
|
||||
*/
|
||||
@interface FIRConfiguration : NSObject
|
||||
|
||||
/** Returns the shared configuration object. */
|
||||
+ (FIRConfiguration *)sharedInstance;
|
||||
|
||||
/** The configuration class for Firebase Analytics. */
|
||||
@property(nonatomic, readwrite) FIRAnalyticsConfiguration *analyticsConfiguration;
|
||||
|
||||
/** Global log level. Defaults to kFIRLogLevelError. */
|
||||
@property(nonatomic, readwrite, assign) FIRLogLevel logLevel DEPRECATED_MSG_ATTRIBUTE(
|
||||
"Use -FIRDebugEnabled and -FIRDebugDisabled or setLoggerLevel. See FIRApp.h for more details.");
|
||||
|
||||
/**
|
||||
* Sets the logging level for internal Firebase logging. Firebase will only log messages
|
||||
* that are logged at or below loggerLevel. The messages are logged both to the Xcode
|
||||
* console and to the device's log. Note that if an app is running from AppStore, it will
|
||||
* never log above FIRLoggerLevelNotice even if loggerLevel is set to a higher (more verbose)
|
||||
* setting.
|
||||
*
|
||||
* @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice.
|
||||
*/
|
||||
- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel;
|
||||
|
||||
@end
|
||||
12
Task Master/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h
generated
Executable file
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* The log levels used by internal logging.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, FIRLoggerLevel) {
|
||||
FIRLoggerLevelError = 3 /*ASL_LEVEL_ERR*/,
|
||||
FIRLoggerLevelWarning = 4 /*ASL_LEVEL_WARNING*/,
|
||||
FIRLoggerLevelNotice = 5 /*ASL_LEVEL_NOTICE*/,
|
||||
FIRLoggerLevelInfo = 6 /*ASL_LEVEL_INFO*/,
|
||||
FIRLoggerLevelDebug = 7 /*ASL_LEVEL_DEBUG*/,
|
||||
FIRLoggerLevelMin = FIRLoggerLevelError,
|
||||
FIRLoggerLevelMax = FIRLoggerLevelDebug
|
||||
};
|
||||
93
Task Master/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FIROptions.h
generated
Executable file
@@ -0,0 +1,93 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/**
|
||||
* This class provides constant fields of Google APIs.
|
||||
*/
|
||||
@interface FIROptions : NSObject<NSCopying>
|
||||
|
||||
/**
|
||||
* Returns the default options.
|
||||
*/
|
||||
+ (FIROptions *)defaultOptions;
|
||||
|
||||
/**
|
||||
* An iOS API key used for authenticating requests from your app, e.g.
|
||||
* @"AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk", used to identify your app to Google servers.
|
||||
*/
|
||||
@property(nonatomic, readonly, copy) NSString *APIKey;
|
||||
|
||||
/**
|
||||
* The OAuth2 client ID for iOS application used to authenticate Google users, for example
|
||||
* @"12345.apps.googleusercontent.com", used for signing in with Google.
|
||||
*/
|
||||
@property(nonatomic, readonly, copy) NSString *clientID;
|
||||
|
||||
/**
|
||||
* The tracking ID for Google Analytics, e.g. @"UA-12345678-1", used to configure Google Analytics.
|
||||
*/
|
||||
@property(nonatomic, readonly, copy) NSString *trackingID;
|
||||
|
||||
/**
|
||||
* The Project Number from the Google Developer's console, for example @"012345678901", used to
|
||||
* configure Google Cloud Messaging.
|
||||
*/
|
||||
@property(nonatomic, readonly, copy) NSString *GCMSenderID;
|
||||
|
||||
/**
|
||||
* The Project ID from the Firebase console, for example @"abc-xyz-123". Currently only populated
|
||||
* when using [FIROptions defaultOptions].
|
||||
*/
|
||||
@property(nonatomic, readonly, copy) NSString *projectID;
|
||||
|
||||
/**
|
||||
* The Android client ID used in Google AppInvite when an iOS app has its Android version, for
|
||||
* example @"12345.apps.googleusercontent.com".
|
||||
*/
|
||||
@property(nonatomic, readonly, copy) NSString *androidClientID;
|
||||
|
||||
/**
|
||||
* The Google App ID that is used to uniquely identify an instance of an app.
|
||||
*/
|
||||
@property(nonatomic, readonly, copy) NSString *googleAppID;
|
||||
|
||||
/**
|
||||
* The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com".
|
||||
*/
|
||||
@property(nonatomic, readonly, copy) NSString *databaseURL;
|
||||
|
||||
/**
|
||||
* The URL scheme used to set up Durable Deep Link service.
|
||||
*/
|
||||
@property(nonatomic, readwrite, copy) NSString *deepLinkURLScheme;
|
||||
|
||||
/**
|
||||
* The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com".
|
||||
*/
|
||||
@property(nonatomic, readonly, copy) NSString *storageBucket;
|
||||
|
||||
/**
|
||||
* Initializes a customized instance of FIROptions with keys. googleAppID, bundleID and GCMSenderID
|
||||
* are required. Other keys may required for configuring specific services.
|
||||
*/
|
||||
- (instancetype)initWithGoogleAppID:(NSString *)googleAppID
|
||||
bundleID:(NSString *)bundleID
|
||||
GCMSenderID:(NSString *)GCMSenderID
|
||||
APIKey:(NSString *)APIKey
|
||||
clientID:(NSString *)clientID
|
||||
trackingID:(NSString *)trackingID
|
||||
androidClientID:(NSString *)androidClientID
|
||||
databaseURL:(NSString *)databaseURL
|
||||
storageBucket:(NSString *)storageBucket
|
||||
deepLinkURLScheme:(NSString *)deepLinkURLScheme;
|
||||
|
||||
/**
|
||||
* Initializes a customized instance of FIROptions from the file at the given plist file path.
|
||||
* For example,
|
||||
* NSString *filePath =
|
||||
* [[NSBundle mainBundle] pathForResource:@"GoogleService-Info" ofType:@"plist"];
|
||||
* FIROptions *options = [[FIROptions alloc] initWithContentsOfFile:filePath];
|
||||
* Returns nil if the plist file does not exist or is invalid.
|
||||
*/
|
||||
- (instancetype)initWithContentsOfFile:(NSString *)plistPath;
|
||||
|
||||
@end
|
||||
5
Task Master/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h
generated
Executable file
@@ -0,0 +1,5 @@
|
||||
#import "FIRAnalyticsConfiguration.h"
|
||||
#import "FIRApp.h"
|
||||
#import "FIRConfiguration.h"
|
||||
#import "FIRLoggerLevel.h"
|
||||
#import "FIROptions.h"
|
||||
7
Task Master/Pods/FirebaseCore/Frameworks/FirebaseCore.framework/Modules/module.modulemap
generated
Executable file
@@ -0,0 +1,7 @@
|
||||
framework module FirebaseCore {
|
||||
umbrella header "FirebaseCore.h"
|
||||
export *
|
||||
module * { export *}
|
||||
link "c++"
|
||||
link "z"
|
||||
}
|
||||
BIN
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/FirebaseDatabase
generated
Executable file
48
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataEventType.h
generated
Executable file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Firebase iOS Client Library
|
||||
*
|
||||
* Copyright © 2013 Firebase - All Rights Reserved
|
||||
* https://www.firebase.com
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binaryform must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef Firebase_FIRDataEventType_h
|
||||
#define Firebase_FIRDataEventType_h
|
||||
|
||||
/**
|
||||
* This enum is the set of events that you can observe at a Firebase Database location.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, FIRDataEventType) {
|
||||
/// A new child node is added to a location.
|
||||
FIRDataEventTypeChildAdded,
|
||||
/// A child node is removed from a location.
|
||||
FIRDataEventTypeChildRemoved,
|
||||
/// A child node at a location changes.
|
||||
FIRDataEventTypeChildChanged,
|
||||
/// A child node moves relative to the other child nodes at a location.
|
||||
FIRDataEventTypeChildMoved,
|
||||
/// Any data changes at a location or, recursively, at any child node.
|
||||
FIRDataEventTypeValue
|
||||
};
|
||||
|
||||
#endif
|
||||
158
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDataSnapshot.h
generated
Executable file
@@ -0,0 +1,158 @@
|
||||
/*
|
||||
* Firebase iOS Client Library
|
||||
*
|
||||
* Copyright © 2013 Firebase - All Rights Reserved
|
||||
* https://www.firebase.com
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binaryform must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class FIRDatabaseReference;
|
||||
|
||||
/**
|
||||
* A FIRDataSnapshot contains data from a Firebase Database location. Any time you read
|
||||
* Firebase data, you receive the data as a FIRDataSnapshot.
|
||||
*
|
||||
* FIRDataSnapshots are passed to the blocks you attach with observeEventType:withBlock: or observeSingleEvent:withBlock:.
|
||||
* They are efficiently-generated immutable copies of the data at a Firebase Database location.
|
||||
* They can't be modified and will never change. To modify data at a location,
|
||||
* use a FIRDatabaseReference (e.g. with setValue:).
|
||||
*/
|
||||
@interface FIRDataSnapshot : NSObject
|
||||
|
||||
|
||||
#pragma mark - Navigating and inspecting a snapshot
|
||||
|
||||
/**
|
||||
* Gets a FIRDataSnapshot for the location at the specified relative path.
|
||||
* The relative path can either be a simple child key (e.g. 'fred')
|
||||
* or a deeper slash-separated path (e.g. 'fred/name/first'). If the child
|
||||
* location has no data, an empty FIRDataSnapshot is returned.
|
||||
*
|
||||
* @param childPathString A relative path to the location of child data.
|
||||
* @return The FIRDataSnapshot for the child location.
|
||||
*/
|
||||
- (FIRDataSnapshot *)childSnapshotForPath:(NSString *)childPathString;
|
||||
|
||||
|
||||
/**
|
||||
* Return YES if the specified child exists.
|
||||
*
|
||||
* @param childPathString A relative path to the location of a potential child.
|
||||
* @return YES if data exists at the specified childPathString, else NO.
|
||||
*/
|
||||
- (BOOL) hasChild:(NSString *)childPathString;
|
||||
|
||||
|
||||
/**
|
||||
* Return YES if the DataSnapshot has any children.
|
||||
*
|
||||
* @return YES if this snapshot has any children, else NO.
|
||||
*/
|
||||
- (BOOL) hasChildren;
|
||||
|
||||
|
||||
/**
|
||||
* Return YES if the DataSnapshot contains a non-null value.
|
||||
*
|
||||
* @return YES if this snapshot contains a non-null value, else NO.
|
||||
*/
|
||||
- (BOOL) exists;
|
||||
|
||||
|
||||
#pragma mark - Data export
|
||||
|
||||
/**
|
||||
* Returns the raw value at this location, coupled with any metadata, such as priority.
|
||||
*
|
||||
* Priorities, where they exist, are accessible under the ".priority" key in instances of NSDictionary.
|
||||
* For leaf locations with priorities, the value will be under the ".value" key.
|
||||
*/
|
||||
- (id __nullable) valueInExportFormat;
|
||||
|
||||
|
||||
#pragma mark - Properties
|
||||
|
||||
/**
|
||||
* Returns the contents of this data snapshot as native types.
|
||||
*
|
||||
* Data types returned:
|
||||
* + NSDictionary
|
||||
* + NSArray
|
||||
* + NSNumber (also includes booleans)
|
||||
* + NSString
|
||||
*
|
||||
* @return The data as a native object.
|
||||
*/
|
||||
@property (strong, readonly, nonatomic, nullable) id value;
|
||||
|
||||
|
||||
/**
|
||||
* Gets the number of children for this DataSnapshot.
|
||||
*
|
||||
* @return An integer indicating the number of children.
|
||||
*/
|
||||
@property (readonly, nonatomic) NSUInteger childrenCount;
|
||||
|
||||
|
||||
/**
|
||||
* Gets a FIRDatabaseReference for the location that this data came from.
|
||||
*
|
||||
* @return A FIRDatabaseReference instance for the location of this data.
|
||||
*/
|
||||
@property (nonatomic, readonly, strong) FIRDatabaseReference * ref;
|
||||
|
||||
|
||||
/**
|
||||
* The key of the location that generated this FIRDataSnapshot.
|
||||
*
|
||||
* @return An NSString containing the key for the location of this FIRDataSnapshot.
|
||||
*/
|
||||
@property (strong, readonly, nonatomic) NSString* key;
|
||||
|
||||
|
||||
/**
|
||||
* An iterator for snapshots of the child nodes in this snapshot.
|
||||
* You can use the native for..in syntax:
|
||||
*
|
||||
* for (FIRDataSnapshot* child in snapshot.children) {
|
||||
* ...
|
||||
* }
|
||||
*
|
||||
* @return An NSEnumerator of the children.
|
||||
*/
|
||||
@property (strong, readonly, nonatomic) NSEnumerator* children;
|
||||
|
||||
/**
|
||||
* The priority of the data in this FIRDataSnapshot.
|
||||
*
|
||||
* @return The priority as a string, or nil if no priority was set.
|
||||
*/
|
||||
@property (strong, readonly, nonatomic, nullable) id priority;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
150
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabase.h
generated
Executable file
@@ -0,0 +1,150 @@
|
||||
/*
|
||||
* Firebase iOS Client Library
|
||||
*
|
||||
* Copyright © 2013 Firebase - All Rights Reserved
|
||||
* https://www.firebase.com
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binaryform must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "FIRDatabaseReference.h"
|
||||
|
||||
@class FIRApp;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
* The entry point for accessing a Firebase Database. You can get an instance by calling
|
||||
* [FIRDatabase database]. To access a location in the database and read or write data,
|
||||
* use [FIRDatabase reference].
|
||||
*/
|
||||
@interface FIRDatabase : NSObject
|
||||
|
||||
/**
|
||||
* Gets the instance of FIRDatabase for the default FIRApp.
|
||||
*
|
||||
* @return A FIRDatabase instance.
|
||||
*/
|
||||
+ (FIRDatabase *) database NS_SWIFT_NAME(database());
|
||||
|
||||
/**
|
||||
* Gets an instance of FIRDatabase for a specific FIRApp.
|
||||
*
|
||||
* @param app The FIRApp to get a FIRDatabase for.
|
||||
* @return A FIRDatabase instance.
|
||||
*/
|
||||
+ (FIRDatabase *) databaseForApp:(FIRApp*)app NS_SWIFT_NAME(database(app:));
|
||||
|
||||
/** The FIRApp instance to which this FIRDatabase belongs. */
|
||||
@property (weak, readonly, nonatomic) FIRApp *app;
|
||||
|
||||
/**
|
||||
* Gets a FIRDatabaseReference for the root of your Firebase Database.
|
||||
*/
|
||||
- (FIRDatabaseReference *) reference;
|
||||
|
||||
/**
|
||||
* Gets a FIRDatabaseReference for the provided path.
|
||||
*
|
||||
* @param path Path to a location in your Firebase Database.
|
||||
* @return A FIRDatabaseReference pointing to the specified path.
|
||||
*/
|
||||
- (FIRDatabaseReference *) referenceWithPath:(NSString *)path;
|
||||
|
||||
/**
|
||||
* Gets a FIRDatabaseReference for the provided URL. The URL must be a URL to a path
|
||||
* within this Firebase Database. To create a FIRDatabaseReference to a different database,
|
||||
* create a FIRApp} with a FIROptions object configured with the appropriate database URL.
|
||||
*
|
||||
* @param url A URL to a path within your database.
|
||||
* @return A FIRDatabaseReference for the provided URL.
|
||||
*/
|
||||
- (FIRDatabaseReference *) referenceFromURL:(NSString *)databaseUrl;
|
||||
|
||||
/**
|
||||
* The Firebase Database client automatically queues writes and sends them to the server at the earliest opportunity,
|
||||
* depending on network connectivity. In some cases (e.g. offline usage) there may be a large number of writes
|
||||
* waiting to be sent. Calling this method will purge all outstanding writes so they are abandoned.
|
||||
*
|
||||
* All writes will be purged, including transactions and onDisconnect writes. The writes will
|
||||
* be rolled back locally, perhaps triggering events for affected event listeners, and the client will not
|
||||
* (re-)send them to the Firebase Database backend.
|
||||
*/
|
||||
- (void)purgeOutstandingWrites;
|
||||
|
||||
/**
|
||||
* Shuts down our connection to the Firebase Database backend until goOnline is called.
|
||||
*/
|
||||
- (void)goOffline;
|
||||
|
||||
/**
|
||||
* Resumes our connection to the Firebase Database backend after a previous goOffline call.
|
||||
*/
|
||||
- (void)goOnline;
|
||||
|
||||
/**
|
||||
* The Firebase Database client will cache synchronized data and keep track of all writes you've
|
||||
* initiated while your application is running. It seamlessly handles intermittent network
|
||||
* connections and re-sends write operations when the network connection is restored.
|
||||
*
|
||||
* However by default your write operations and cached data are only stored in-memory and will
|
||||
* be lost when your app restarts. By setting this value to `YES`, the data will be persisted
|
||||
* to on-device (disk) storage and will thus be available again when the app is restarted
|
||||
* (even when there is no network connectivity at that time). Note that this property must be
|
||||
* set before creating your first Database reference and only needs to be called once per
|
||||
* application.
|
||||
*
|
||||
*/
|
||||
@property (nonatomic) BOOL persistenceEnabled;
|
||||
|
||||
/**
|
||||
* By default the Firebase Database client will use up to 10MB of disk space to cache data. If the cache grows beyond
|
||||
* this size, the client will start removing data that hasn't been recently used. If you find that your application
|
||||
* caches too little or too much data, call this method to change the cache size. This property must be set before
|
||||
* creating your first FIRDatabaseReference and only needs to be called once per application.
|
||||
*
|
||||
* Note that the specified cache size is only an approximation and the size on disk may temporarily exceed it
|
||||
* at times. Cache sizes smaller than 1 MB or greater than 100 MB are not supported.
|
||||
*/
|
||||
@property (nonatomic) NSUInteger persistenceCacheSizeBytes;
|
||||
|
||||
/**
|
||||
* Sets the dispatch queue on which all events are raised. The default queue is the main queue.
|
||||
*
|
||||
* Note that this must be set before creating your first Database reference.
|
||||
*/
|
||||
@property (nonatomic, strong) dispatch_queue_t callbackQueue;
|
||||
|
||||
/**
|
||||
* Enables verbose diagnostic logging.
|
||||
*
|
||||
* @param enabled YES to enable logging, NO to disable.
|
||||
*/
|
||||
+ (void) setLoggingEnabled:(BOOL)enabled;
|
||||
|
||||
/** Retrieve the Firebase Database SDK version. */
|
||||
+ (NSString *) sdkVersion;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
325
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseQuery.h
generated
Executable file
@@ -0,0 +1,325 @@
|
||||
/*
|
||||
* Firebase iOS Client Library
|
||||
*
|
||||
* Copyright © 2013 Firebase - All Rights Reserved
|
||||
* https://www.firebase.com
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binaryform must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "FIRDataEventType.h"
|
||||
#import "FIRDataSnapshot.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
* A FIRDatabaseHandle is used to identify listeners of Firebase Database events. These handles
|
||||
* are returned by observeEventType: and and can later be passed to removeObserverWithHandle: to
|
||||
* stop receiving updates.
|
||||
*/
|
||||
typedef NSUInteger FIRDatabaseHandle;
|
||||
|
||||
/**
|
||||
* A FIRDatabaseQuery instance represents a query over the data at a particular location.
|
||||
*
|
||||
* You create one by calling one of the query methods (queryOrderedByChild:, queryStartingAtValue:, etc.)
|
||||
* on a FIRDatabaseReference. The query methods can be chained to further specify the data you are interested in
|
||||
* observing
|
||||
*/
|
||||
@interface FIRDatabaseQuery : NSObject
|
||||
|
||||
|
||||
#pragma mark - Attach observers to read data
|
||||
|
||||
/**
|
||||
* observeEventType:withBlock: is used to listen for data changes at a particular location.
|
||||
* This is the primary way to read data from the Firebase Database. Your block will be triggered
|
||||
* for the initial data and again whenever the data changes.
|
||||
*
|
||||
* Use removeObserverWithHandle: to stop receiving updates.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot.
|
||||
* @return A handle used to unregister this block later using removeObserverWithHandle:
|
||||
*/
|
||||
- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block;
|
||||
|
||||
|
||||
/**
|
||||
* observeEventType:andPreviousSiblingKeyWithBlock: is used to listen for data changes at a particular location.
|
||||
* This is the primary way to read data from the Firebase Database. Your block will be triggered
|
||||
* for the initial data and again whenever the data changes. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and
|
||||
* FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order.
|
||||
*
|
||||
* Use removeObserverWithHandle: to stop receiving updates.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot
|
||||
* and the previous child's key.
|
||||
* @return A handle used to unregister this block later using removeObserverWithHandle:
|
||||
*/
|
||||
- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block;
|
||||
|
||||
|
||||
/**
|
||||
* observeEventType:withBlock: is used to listen for data changes at a particular location.
|
||||
* This is the primary way to read data from the Firebase Database. Your block will be triggered
|
||||
* for the initial data and again whenever the data changes.
|
||||
*
|
||||
* The cancelBlock will be called if you will no longer receive new events due to no longer having permission.
|
||||
*
|
||||
* Use removeObserverWithHandle: to stop receiving updates.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot.
|
||||
* @param cancelBlock The block that should be called if this client no longer has permission to receive these events
|
||||
* @return A handle used to unregister this block later using removeObserverWithHandle:
|
||||
*/
|
||||
- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock;
|
||||
|
||||
|
||||
/**
|
||||
* observeEventType:andPreviousSiblingKeyWithBlock: is used to listen for data changes at a particular location.
|
||||
* This is the primary way to read data from the Firebase Database. Your block will be triggered
|
||||
* for the initial data and again whenever the data changes. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and
|
||||
* FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order.
|
||||
*
|
||||
* The cancelBlock will be called if you will no longer receive new events due to no longer having permission.
|
||||
*
|
||||
* Use removeObserverWithHandle: to stop receiving updates.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot
|
||||
* and the previous child's key.
|
||||
* @param cancelBlock The block that should be called if this client no longer has permission to receive these events
|
||||
* @return A handle used to unregister this block later using removeObserverWithHandle:
|
||||
*/
|
||||
- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock;
|
||||
|
||||
|
||||
/**
|
||||
* This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called. It is passed the data as a FIRDataSnapshot.
|
||||
*/
|
||||
- (void)observeSingleEventOfType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block;
|
||||
|
||||
|
||||
/**
|
||||
* This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and
|
||||
* FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called. It is passed the data as a FIRDataSnapshot and the previous child's key.
|
||||
*/
|
||||
- (void)observeSingleEventOfType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block;
|
||||
|
||||
|
||||
/**
|
||||
* This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned.
|
||||
*
|
||||
* The cancelBlock will be called if you do not have permission to read data at this location.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called. It is passed the data as a FIRDataSnapshot.
|
||||
* @param cancelBlock The block that will be called if you don't have permission to access this data
|
||||
*/
|
||||
- (void)observeSingleEventOfType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock;
|
||||
|
||||
|
||||
/**
|
||||
* This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and
|
||||
* FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order.
|
||||
*
|
||||
* The cancelBlock will be called if you do not have permission to read data at this location.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called. It is passed the data as a FIRDataSnapshot and the previous child's key.
|
||||
* @param cancelBlock The block that will be called if you don't have permission to access this data
|
||||
*/
|
||||
- (void)observeSingleEventOfType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock;
|
||||
|
||||
|
||||
#pragma mark - Detaching observers
|
||||
|
||||
/**
|
||||
* Detach a block previously attached with observeEventType:withBlock:.
|
||||
*
|
||||
* @param handle The handle returned by the call to observeEventType:withBlock: which we are trying to remove.
|
||||
*/
|
||||
- (void) removeObserverWithHandle:(FIRDatabaseHandle)handle;
|
||||
|
||||
|
||||
/**
|
||||
* Detach all blocks previously attached to this Firebase Database location with observeEventType:withBlock:
|
||||
*/
|
||||
- (void) removeAllObservers;
|
||||
|
||||
/**
|
||||
* By calling `keepSynced:YES` on a location, the data for that location will automatically be downloaded and
|
||||
* kept in sync, even when no listeners are attached for that location. Additionally, while a location is kept
|
||||
* synced, it will not be evicted from the persistent disk cache.
|
||||
*
|
||||
* @param keepSynced Pass YES to keep this location synchronized, pass NO to stop synchronization.
|
||||
*/
|
||||
- (void) keepSynced:(BOOL)keepSynced;
|
||||
|
||||
|
||||
#pragma mark - Querying and limiting
|
||||
|
||||
/**
|
||||
* queryLimitedToFirst: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryLimitedToFirst: will respond to at most the first limit child nodes.
|
||||
*
|
||||
* @param limit The upper bound, inclusive, for the number of child nodes to receive events for
|
||||
* @return A FIRDatabaseQuery instance, limited to at most limit child nodes.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryLimitedToFirst:(NSUInteger)limit;
|
||||
|
||||
|
||||
/**
|
||||
* queryLimitedToLast: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryLimitedToLast: will respond to at most the last limit child nodes.
|
||||
*
|
||||
* @param limit The upper bound, inclusive, for the number of child nodes to receive events for
|
||||
* @return A FIRDatabaseQuery instance, limited to at most limit child nodes.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryLimitedToLast:(NSUInteger)limit;
|
||||
|
||||
/**
|
||||
* queryOrderBy: is used to generate a reference to a view of the data that's been sorted by the values of
|
||||
* a particular child key. This method is intended to be used in combination with queryStartingAtValue:,
|
||||
* queryEndingAtValue:, or queryEqualToValue:.
|
||||
*
|
||||
* @param key The child key to use in ordering data visible to the returned FIRDatabaseQuery
|
||||
* @return A FIRDatabaseQuery instance, ordered by the values of the specified child key.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryOrderedByChild:(NSString *)key;
|
||||
|
||||
/**
|
||||
* queryOrderedByKey: is used to generate a reference to a view of the data that's been sorted by child key.
|
||||
* This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:,
|
||||
* or queryEqualToValue:.
|
||||
*
|
||||
* @return A FIRDatabaseQuery instance, ordered by child keys.
|
||||
*/
|
||||
- (FIRDatabaseQuery *) queryOrderedByKey;
|
||||
|
||||
/**
|
||||
* queryOrderedByValue: is used to generate a reference to a view of the data that's been sorted by child value.
|
||||
* This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:,
|
||||
* or queryEqualToValue:.
|
||||
*
|
||||
* @return A FIRDatabaseQuery instance, ordered by child value.
|
||||
*/
|
||||
- (FIRDatabaseQuery *) queryOrderedByValue;
|
||||
|
||||
/**
|
||||
* queryOrderedByPriority: is used to generate a reference to a view of the data that's been sorted by child
|
||||
* priority. This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:,
|
||||
* or queryEqualToValue:.
|
||||
*
|
||||
* @return A FIRDatabaseQuery instance, ordered by child priorities.
|
||||
*/
|
||||
- (FIRDatabaseQuery *) queryOrderedByPriority;
|
||||
|
||||
/**
|
||||
* queryStartingAtValue: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryStartingAtValue: will respond to events at nodes with a value
|
||||
* greater than or equal to startValue.
|
||||
*
|
||||
* @param startValue The lower bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery
|
||||
* @return A FIRDatabaseQuery instance, limited to data with value greater than or equal to startValue
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryStartingAtValue:(nullable id)startValue;
|
||||
|
||||
/**
|
||||
* queryStartingAtValue:childKey: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryStartingAtValue:childKey will respond to events at nodes with a value
|
||||
* greater than startValue, or equal to startValue and with a key greater than or equal to childKey. This is most
|
||||
* useful when implementing pagination in a case where multiple nodes can match the startValue.
|
||||
*
|
||||
* @param startValue The lower bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery
|
||||
* @param childKey The lower bound, inclusive, for the key of nodes with value equal to startValue
|
||||
* @return A FIRDatabaseQuery instance, limited to data with value greater than or equal to startValue
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryStartingAtValue:(nullable id)startValue childKey:(nullable NSString *)childKey;
|
||||
|
||||
/**
|
||||
* queryEndingAtValue: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryEndingAtValue: will respond to events at nodes with a value
|
||||
* less than or equal to endValue.
|
||||
*
|
||||
* @param endValue The upper bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery
|
||||
* @return A FIRDatabaseQuery instance, limited to data with value less than or equal to endValue
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryEndingAtValue:(nullable id)endValue;
|
||||
|
||||
/**
|
||||
* queryEndingAtValue:childKey: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryEndingAtValue:childKey will respond to events at nodes with a value
|
||||
* less than endValue, or equal to endValue and with a key less than or equal to childKey. This is most useful when
|
||||
* implementing pagination in a case where multiple nodes can match the endValue.
|
||||
*
|
||||
* @param endValue The upper bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery
|
||||
* @param childKey The upper bound, inclusive, for the key of nodes with value equal to endValue
|
||||
* @return A FIRDatabaseQuery instance, limited to data with value less than or equal to endValue
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryEndingAtValue:(nullable id)endValue childKey:(nullable NSString *)childKey;
|
||||
|
||||
/**
|
||||
* queryEqualToValue: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryEqualToValue: will respond to events at nodes with a value equal
|
||||
* to the supplied argument.
|
||||
*
|
||||
* @param value The value that the data returned by this FIRDatabaseQuery will have
|
||||
* @return A FIRDatabaseQuery instance, limited to data with the supplied value.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryEqualToValue:(nullable id)value;
|
||||
|
||||
/**
|
||||
* queryEqualToValue:childKey: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryEqualToValue:childKey will respond to events at nodes with a value
|
||||
* equal to the supplied argument and with their key equal to childKey. There will be at most one node that matches
|
||||
* because child keys are unique.
|
||||
*
|
||||
* @param value The value that the data returned by this FIRDatabaseQuery will have
|
||||
* @param childKey The name of nodes with the right value
|
||||
* @return A FIRDatabaseQuery instance, limited to data with the supplied value and the key.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryEqualToValue:(nullable id)value childKey:(nullable NSString *)childKey;
|
||||
|
||||
|
||||
#pragma mark - Properties
|
||||
|
||||
/**
|
||||
* Gets a FIRDatabaseReference for the location of this query.
|
||||
*
|
||||
* @return A FIRDatabaseReference for the location of this query.
|
||||
*/
|
||||
@property (nonatomic, readonly, strong) FIRDatabaseReference * ref;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
730
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRDatabaseReference.h
generated
Executable file
@@ -0,0 +1,730 @@
|
||||
/*
|
||||
* Firebase iOS Client Library
|
||||
*
|
||||
* Copyright © 2013 Firebase - All Rights Reserved
|
||||
* https://www.firebase.com
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binaryform must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "FIRDatabaseQuery.h"
|
||||
#import "FIRDatabase.h"
|
||||
#import "FIRDataSnapshot.h"
|
||||
#import "FIRMutableData.h"
|
||||
#import "FIRTransactionResult.h"
|
||||
#import "FIRServerValue.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class FIRDatabase;
|
||||
|
||||
/**
|
||||
* A FIRDatabaseReference represents a particular location in your Firebase Database
|
||||
* and can be used for reading or writing data to that Firebase Database location.
|
||||
*
|
||||
* This class is the starting point for all Firebase Database operations. After you've
|
||||
* obtained your first FIRDatabaseReference via [FIRDatabase reference], you can use it
|
||||
* to read data (ie. observeEventType:withBlock:), write data (ie. setValue:), and to
|
||||
* create new FIRDatabaseReferences (ie. child:).
|
||||
*/
|
||||
@interface FIRDatabaseReference : FIRDatabaseQuery
|
||||
|
||||
|
||||
#pragma mark - Getting references to children locations
|
||||
|
||||
/**
|
||||
* Gets a FIRDatabaseReference for the location at the specified relative path.
|
||||
* The relative path can either be a simple child key (e.g. 'fred') or a
|
||||
* deeper slash-separated path (e.g. 'fred/name/first').
|
||||
*
|
||||
* @param pathString A relative path from this location to the desired child location.
|
||||
* @return A FIRDatabaseReference for the specified relative path.
|
||||
*/
|
||||
- (FIRDatabaseReference *)child:(NSString *)pathString;
|
||||
|
||||
/**
|
||||
* childByAppendingPath: is deprecated, use child: instead.
|
||||
*/
|
||||
- (FIRDatabaseReference *)childByAppendingPath:(NSString *)pathString __deprecated_msg("use child: instead");
|
||||
|
||||
/**
|
||||
* childByAutoId generates a new child location using a unique key and returns a
|
||||
* FIRDatabaseReference to it. This is useful when the children of a Firebase Database
|
||||
* location represent a list of items.
|
||||
*
|
||||
* The unique key generated by childByAutoId: is prefixed with a client-generated
|
||||
* timestamp so that the resulting list will be chronologically-sorted.
|
||||
*
|
||||
* @return A FIRDatabaseReference for the generated location.
|
||||
*/
|
||||
- (FIRDatabaseReference *) childByAutoId;
|
||||
|
||||
|
||||
#pragma mark - Writing data
|
||||
|
||||
/** Write data to this Firebase Database location.
|
||||
|
||||
This will overwrite any data at this location and all child locations.
|
||||
|
||||
Data types that can be set are:
|
||||
|
||||
- NSString -- @"Hello World"
|
||||
- NSNumber (also includes boolean) -- @YES, @43, @4.333
|
||||
- NSDictionary -- @{@"key": @"value", @"nested": @{@"another": @"value"} }
|
||||
- NSArray
|
||||
|
||||
The effect of the write will be visible immediately and the corresponding
|
||||
events will be triggered. Synchronization of the data to the Firebase Database
|
||||
servers will also be started.
|
||||
|
||||
Passing null for the new value is equivalent to calling remove:;
|
||||
all data at this location or any child location will be deleted.
|
||||
|
||||
Note that setValue: will remove any priority stored at this location, so if priority
|
||||
is meant to be preserved, you should use setValue:andPriority: instead.
|
||||
|
||||
@param value The value to be written.
|
||||
*/
|
||||
- (void) setValue:(nullable id)value;
|
||||
|
||||
|
||||
/**
|
||||
* The same as setValue: with a block that gets triggered after the write operation has
|
||||
* been committed to the Firebase Database servers.
|
||||
*
|
||||
* @param value The value to be written.
|
||||
* @param block The block to be called after the write has been committed to the Firebase Database servers.
|
||||
*/
|
||||
- (void) setValue:(nullable id)value withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
|
||||
/**
|
||||
* The same as setValue: with an additional priority to be attached to the data being written.
|
||||
* Priorities are used to order items.
|
||||
*
|
||||
* @param value The value to be written.
|
||||
* @param priority The priority to be attached to that data.
|
||||
*/
|
||||
- (void) setValue:(nullable id)value andPriority:(nullable id)priority;
|
||||
|
||||
|
||||
/**
|
||||
* The same as setValue:andPriority: with a block that gets triggered after the write operation has
|
||||
* been committed to the Firebase Database servers.
|
||||
*
|
||||
* @param value The value to be written.
|
||||
* @param priority The priority to be attached to that data.
|
||||
* @param block The block to be called after the write has been committed to the Firebase Database servers.
|
||||
*/
|
||||
- (void) setValue:(nullable id)value andPriority:(nullable id)priority withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
|
||||
/**
|
||||
* Remove the data at this Firebase Database location. Any data at child locations will also be deleted.
|
||||
*
|
||||
* The effect of the delete will be visible immediately and the corresponding events
|
||||
* will be triggered. Synchronization of the delete to the Firebase Database servers will
|
||||
* also be started.
|
||||
*
|
||||
* remove: is equivalent to calling setValue:nil
|
||||
*/
|
||||
- (void) removeValue;
|
||||
|
||||
|
||||
/**
|
||||
* The same as remove: with a block that gets triggered after the remove operation has
|
||||
* been committed to the Firebase Database servers.
|
||||
*
|
||||
* @param block The block to be called after the remove has been committed to the Firebase Database servers.
|
||||
*/
|
||||
- (void) removeValueWithCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
/**
|
||||
* Sets a priority for the data at this Firebase Database location.
|
||||
* Priorities can be used to provide a custom ordering for the children at a location
|
||||
* (if no priorities are specified, the children are ordered by key).
|
||||
*
|
||||
* You cannot set a priority on an empty location. For this reason
|
||||
* setValue:andPriority: should be used when setting initial data with a specific priority
|
||||
* and setPriority: should be used when updating the priority of existing data.
|
||||
*
|
||||
* Children are sorted based on this priority using the following rules:
|
||||
*
|
||||
* Children with no priority come first.
|
||||
* Children with a number as their priority come next. They are sorted numerically by priority (small to large).
|
||||
* Children with a string as their priority come last. They are sorted lexicographically by priority.
|
||||
* Whenever two children have the same priority (including no priority), they are sorted by key. Numeric
|
||||
* keys come first (sorted numerically), followed by the remaining keys (sorted lexicographically).
|
||||
*
|
||||
* Note that priorities are parsed and ordered as IEEE 754 double-precision floating-point numbers.
|
||||
* Keys are always stored as strings and are treated as numbers only when they can be parsed as a
|
||||
* 32-bit integer
|
||||
*
|
||||
* @param priority The priority to set at the specified location.
|
||||
*/
|
||||
- (void) setPriority:(nullable id)priority;
|
||||
|
||||
|
||||
/**
|
||||
* The same as setPriority: with a block that is called once the priority has
|
||||
* been committed to the Firebase Database servers.
|
||||
*
|
||||
* @param priority The priority to set at the specified location.
|
||||
* @param block The block that is triggered after the priority has been written on the servers.
|
||||
*/
|
||||
- (void) setPriority:(nullable id)priority withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
/**
|
||||
* Updates the values at the specified paths in the dictionary without overwriting other
|
||||
* keys at this location.
|
||||
*
|
||||
* @param values A dictionary of the keys to change and their new values
|
||||
*/
|
||||
- (void) updateChildValues:(NSDictionary *)values;
|
||||
|
||||
/**
|
||||
* The same as update: with a block that is called once the update has been committed to the
|
||||
* Firebase Database servers
|
||||
*
|
||||
* @param values A dictionary of the keys to change and their new values
|
||||
* @param block The block that is triggered after the update has been written on the Firebase Database servers
|
||||
*/
|
||||
- (void) updateChildValues:(NSDictionary *)values withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
|
||||
#pragma mark - Attaching observers to read data
|
||||
|
||||
/**
|
||||
* observeEventType:withBlock: is used to listen for data changes at a particular location.
|
||||
* This is the primary way to read data from the Firebase Database. Your block will be triggered
|
||||
* for the initial data and again whenever the data changes.
|
||||
*
|
||||
* Use removeObserverWithHandle: to stop receiving updates.
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot.
|
||||
* @return A handle used to unregister this block later using removeObserverWithHandle:
|
||||
*/
|
||||
- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block;
|
||||
|
||||
|
||||
/**
|
||||
* observeEventType:andPreviousSiblingKeyWithBlock: is used to listen for data changes at a particular location.
|
||||
* This is the primary way to read data from the Firebase Database. Your block will be triggered
|
||||
* for the initial data and again whenever the data changes. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and
|
||||
* FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order.
|
||||
*
|
||||
* Use removeObserverWithHandle: to stop receiving updates.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot
|
||||
* and the previous child's key.
|
||||
* @return A handle used to unregister this block later using removeObserverWithHandle:
|
||||
*/
|
||||
- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block;
|
||||
|
||||
|
||||
/**
|
||||
* observeEventType:withBlock: is used to listen for data changes at a particular location.
|
||||
* This is the primary way to read data from the Firebase Database. Your block will be triggered
|
||||
* for the initial data and again whenever the data changes.
|
||||
*
|
||||
* The cancelBlock will be called if you will no longer receive new events due to no longer having permission.
|
||||
*
|
||||
* Use removeObserverWithHandle: to stop receiving updates.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot.
|
||||
* @param cancelBlock The block that should be called if this client no longer has permission to receive these events
|
||||
* @return A handle used to unregister this block later using removeObserverWithHandle:
|
||||
*/
|
||||
- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock;
|
||||
|
||||
|
||||
/**
|
||||
* observeEventType:andPreviousSiblingKeyWithBlock: is used to listen for data changes at a particular location.
|
||||
* This is the primary way to read data from the Firebase Database. Your block will be triggered
|
||||
* for the initial data and again whenever the data changes. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and
|
||||
* FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order.
|
||||
*
|
||||
* The cancelBlock will be called if you will no longer receive new events due to no longer having permission.
|
||||
*
|
||||
* Use removeObserverWithHandle: to stop receiving updates.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called with initial data and updates. It is passed the data as a FIRDataSnapshot
|
||||
* and the previous child's key.
|
||||
* @param cancelBlock The block that should be called if this client no longer has permission to receive these events
|
||||
* @return A handle used to unregister this block later using removeObserverWithHandle:
|
||||
*/
|
||||
- (FIRDatabaseHandle)observeEventType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock;
|
||||
|
||||
|
||||
/**
|
||||
* This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called. It is passed the data as a FIRDataSnapshot.
|
||||
*/
|
||||
- (void)observeSingleEventOfType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block;
|
||||
|
||||
|
||||
/**
|
||||
* This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and
|
||||
* FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called. It is passed the data as a FIRDataSnapshot and the previous child's key.
|
||||
*/
|
||||
- (void)observeSingleEventOfType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block;
|
||||
|
||||
|
||||
/**
|
||||
* This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned.
|
||||
*
|
||||
* The cancelBlock will be called if you do not have permission to read data at this location.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called. It is passed the data as a FIRDataSnapshot.
|
||||
* @param cancelBlock The block that will be called if you don't have permission to access this data
|
||||
*/
|
||||
- (void)observeSingleEventOfType:(FIRDataEventType)eventType withBlock:(void (^)(FIRDataSnapshot *snapshot))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock;
|
||||
|
||||
|
||||
/**
|
||||
* This is equivalent to observeEventType:withBlock:, except the block is immediately canceled after the initial data is returned. In addition, for FIRDataEventTypeChildAdded, FIRDataEventTypeChildMoved, and
|
||||
* FIRDataEventTypeChildChanged events, your block will be passed the key of the previous node by priority order.
|
||||
*
|
||||
* The cancelBlock will be called if you do not have permission to read data at this location.
|
||||
*
|
||||
* @param eventType The type of event to listen for.
|
||||
* @param block The block that should be called. It is passed the data as a FIRDataSnapshot and the previous child's key.
|
||||
* @param cancelBlock The block that will be called if you don't have permission to access this data
|
||||
*/
|
||||
- (void)observeSingleEventOfType:(FIRDataEventType)eventType andPreviousSiblingKeyWithBlock:(void (^)(FIRDataSnapshot *snapshot, NSString *__nullable prevKey))block withCancelBlock:(nullable void (^)(NSError* error))cancelBlock;
|
||||
|
||||
#pragma mark - Detaching observers
|
||||
|
||||
/**
|
||||
* Detach a block previously attached with observeEventType:withBlock:.
|
||||
*
|
||||
* @param handle The handle returned by the call to observeEventType:withBlock: which we are trying to remove.
|
||||
*/
|
||||
- (void) removeObserverWithHandle:(FIRDatabaseHandle)handle;
|
||||
|
||||
/**
|
||||
* By calling `keepSynced:YES` on a location, the data for that location will automatically be downloaded and
|
||||
* kept in sync, even when no listeners are attached for that location. Additionally, while a location is kept
|
||||
* synced, it will not be evicted from the persistent disk cache.
|
||||
*
|
||||
* @param keepSynced Pass YES to keep this location synchronized, pass NO to stop synchronization.
|
||||
*/
|
||||
- (void) keepSynced:(BOOL)keepSynced;
|
||||
|
||||
|
||||
/**
|
||||
* Removes all observers at the current reference, but does not remove any observers at child references.
|
||||
* removeAllObservers must be called again for each child reference where a listener was established to remove the observers.
|
||||
*/
|
||||
- (void) removeAllObservers;
|
||||
|
||||
#pragma mark - Querying and limiting
|
||||
|
||||
|
||||
/**
|
||||
* queryLimitedToFirst: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryLimitedToFirst: will respond to at most the first limit child nodes.
|
||||
*
|
||||
* @param limit The upper bound, inclusive, for the number of child nodes to receive events for
|
||||
* @return A FIRDatabaseQuery instance, limited to at most limit child nodes.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryLimitedToFirst:(NSUInteger)limit;
|
||||
|
||||
|
||||
/**
|
||||
* queryLimitedToLast: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryLimitedToLast: will respond to at most the last limit child nodes.
|
||||
*
|
||||
* @param limit The upper bound, inclusive, for the number of child nodes to receive events for
|
||||
* @return A FIRDatabaseQuery instance, limited to at most limit child nodes.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryLimitedToLast:(NSUInteger)limit;
|
||||
|
||||
/**
|
||||
* queryOrderBy: is used to generate a reference to a view of the data that's been sorted by the values of
|
||||
* a particular child key. This method is intended to be used in combination with queryStartingAtValue:,
|
||||
* queryEndingAtValue:, or queryEqualToValue:.
|
||||
*
|
||||
* @param key The child key to use in ordering data visible to the returned FIRDatabaseQuery
|
||||
* @return A FIRDatabaseQuery instance, ordered by the values of the specified child key.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryOrderedByChild:(NSString *)key;
|
||||
|
||||
/**
|
||||
* queryOrderedByKey: is used to generate a reference to a view of the data that's been sorted by child key.
|
||||
* This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:,
|
||||
* or queryEqualToValue:.
|
||||
*
|
||||
* @return A FIRDatabaseQuery instance, ordered by child keys.
|
||||
*/
|
||||
- (FIRDatabaseQuery *) queryOrderedByKey;
|
||||
|
||||
/**
|
||||
* queryOrderedByPriority: is used to generate a reference to a view of the data that's been sorted by child
|
||||
* priority. This method is intended to be used in combination with queryStartingAtValue:, queryEndingAtValue:,
|
||||
* or queryEqualToValue:.
|
||||
*
|
||||
* @return A FIRDatabaseQuery instance, ordered by child priorities.
|
||||
*/
|
||||
- (FIRDatabaseQuery *) queryOrderedByPriority;
|
||||
|
||||
/**
|
||||
* queryStartingAtValue: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryStartingAtValue: will respond to events at nodes with a value
|
||||
* greater than or equal to startValue.
|
||||
*
|
||||
* @param startValue The lower bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery
|
||||
* @return A FIRDatabaseQuery instance, limited to data with value greater than or equal to startValue
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryStartingAtValue:(nullable id)startValue;
|
||||
|
||||
/**
|
||||
* queryStartingAtValue:childKey: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryStartingAtValue:childKey will respond to events at nodes with a value
|
||||
* greater than startValue, or equal to startValue and with a key greater than or equal to childKey.
|
||||
*
|
||||
* @param startValue The lower bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery
|
||||
* @param childKey The lower bound, inclusive, for the key of nodes with value equal to startValue
|
||||
* @return A FIRDatabaseQuery instance, limited to data with value greater than or equal to startValue
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryStartingAtValue:(nullable id)startValue childKey:(nullable NSString *)childKey;
|
||||
|
||||
/**
|
||||
* queryEndingAtValue: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryEndingAtValue: will respond to events at nodes with a value
|
||||
* less than or equal to endValue.
|
||||
*
|
||||
* @param endValue The upper bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery
|
||||
* @return A FIRDatabaseQuery instance, limited to data with value less than or equal to endValue
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryEndingAtValue:(nullable id)endValue;
|
||||
|
||||
/**
|
||||
* queryEndingAtValue:childKey: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryEndingAtValue:childKey will respond to events at nodes with a value
|
||||
* less than endValue, or equal to endValue and with a key less than or equal to childKey.
|
||||
*
|
||||
* @param endValue The upper bound, inclusive, for the value of data visible to the returned FIRDatabaseQuery
|
||||
* @param childKey The upper bound, inclusive, for the key of nodes with value equal to endValue
|
||||
* @return A FIRDatabaseQuery instance, limited to data with value less than or equal to endValue
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryEndingAtValue:(nullable id)endValue childKey:(nullable NSString *)childKey;
|
||||
|
||||
/**
|
||||
* queryEqualToValue: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryEqualToValue: will respond to events at nodes with a value equal
|
||||
* to the supplied argument.
|
||||
*
|
||||
* @param value The value that the data returned by this FIRDatabaseQuery will have
|
||||
* @return A FIRDatabaseQuery instance, limited to data with the supplied value.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryEqualToValue:(nullable id)value;
|
||||
|
||||
/**
|
||||
* queryEqualToValue:childKey: is used to generate a reference to a limited view of the data at this location.
|
||||
* The FIRDatabaseQuery instance returned by queryEqualToValue:childKey will respond to events at nodes with a value
|
||||
* equal to the supplied argument with a key equal to childKey. There will be at most one node that matches because
|
||||
* child keys are unique.
|
||||
*
|
||||
* @param value The value that the data returned by this FIRDatabaseQuery will have
|
||||
* @param childKey The key of nodes with the right value
|
||||
* @return A FIRDatabaseQuery instance, limited to data with the supplied value and the key.
|
||||
*/
|
||||
- (FIRDatabaseQuery *)queryEqualToValue:(nullable id)value childKey:(nullable NSString *)childKey;
|
||||
|
||||
#pragma mark - Managing presence
|
||||
|
||||
/**
|
||||
* Ensure the data at this location is set to the specified value when
|
||||
* the client is disconnected (due to closing the browser, navigating
|
||||
* to a new page, or network issues).
|
||||
*
|
||||
* onDisconnectSetValue: is especially useful for implementing "presence" systems,
|
||||
* where a value should be changed or cleared when a user disconnects
|
||||
* so that he appears "offline" to other users.
|
||||
*
|
||||
* @param value The value to be set after the connection is lost.
|
||||
*/
|
||||
- (void) onDisconnectSetValue:(nullable id)value;
|
||||
|
||||
|
||||
/**
|
||||
* Ensure the data at this location is set to the specified value when
|
||||
* the client is disconnected (due to closing the browser, navigating
|
||||
* to a new page, or network issues).
|
||||
*
|
||||
* The completion block will be triggered when the operation has been successfully queued up on the Firebase Database servers
|
||||
*
|
||||
* @param value The value to be set after the connection is lost.
|
||||
* @param block Block to be triggered when the operation has been queued up on the Firebase Database servers
|
||||
*/
|
||||
- (void) onDisconnectSetValue:(nullable id)value withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
|
||||
/**
|
||||
* Ensure the data at this location is set to the specified value and priority when
|
||||
* the client is disconnected (due to closing the browser, navigating
|
||||
* to a new page, or network issues).
|
||||
*
|
||||
* @param value The value to be set after the connection is lost.
|
||||
* @param priority The priority to be set after the connection is lost.
|
||||
*/
|
||||
- (void) onDisconnectSetValue:(nullable id)value andPriority:(id)priority;
|
||||
|
||||
|
||||
/**
|
||||
* Ensure the data at this location is set to the specified value and priority when
|
||||
* the client is disconnected (due to closing the browser, navigating
|
||||
* to a new page, or network issues).
|
||||
*
|
||||
* The completion block will be triggered when the operation has been successfully queued up on the Firebase Database servers
|
||||
*
|
||||
* @param value The value to be set after the connection is lost.
|
||||
* @param priority The priority to be set after the connection is lost.
|
||||
* @param block Block to be triggered when the operation has been queued up on the Firebase Database servers
|
||||
*/
|
||||
- (void) onDisconnectSetValue:(nullable id)value andPriority:(nullable id)priority withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
|
||||
/**
|
||||
* Ensure the data at this location is removed when
|
||||
* the client is disconnected (due to closing the app, navigating
|
||||
* to a new page, or network issues).
|
||||
*
|
||||
* onDisconnectRemoveValue is especially useful for implementing "presence" systems.
|
||||
*/
|
||||
- (void) onDisconnectRemoveValue;
|
||||
|
||||
|
||||
/**
|
||||
* Ensure the data at this location is removed when
|
||||
* the client is disconnected (due to closing the app, navigating
|
||||
* to a new page, or network issues).
|
||||
*
|
||||
* onDisconnectRemoveValueWithCompletionBlock: is especially useful for implementing "presence" systems.
|
||||
*
|
||||
* @param block Block to be triggered when the operation has been queued up on the Firebase Database servers
|
||||
*/
|
||||
- (void) onDisconnectRemoveValueWithCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Ensure the data has the specified child values updated when
|
||||
* the client is disconnected (due to closing the browser, navigating
|
||||
* to a new page, or network issues).
|
||||
*
|
||||
*
|
||||
* @param values A dictionary of child node keys and the values to set them to after the connection is lost.
|
||||
*/
|
||||
- (void) onDisconnectUpdateChildValues:(NSDictionary *)values;
|
||||
|
||||
|
||||
/**
|
||||
* Ensure the data has the specified child values updated when
|
||||
* the client is disconnected (due to closing the browser, navigating
|
||||
* to a new page, or network issues).
|
||||
*
|
||||
*
|
||||
* @param values A dictionary of child node keys and the values to set them to after the connection is lost.
|
||||
* @param block A block that will be called once the operation has been queued up on the Firebase Database servers
|
||||
*/
|
||||
- (void) onDisconnectUpdateChildValues:(NSDictionary *)values withCompletionBlock:(void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
|
||||
/**
|
||||
* Cancel any operations that are set to run on disconnect. If you previously called onDisconnectSetValue:,
|
||||
* onDisconnectRemoveValue:, or onDisconnectUpdateChildValues:, and no longer want the values updated when the
|
||||
* connection is lost, call cancelDisconnectOperations:
|
||||
*/
|
||||
- (void) cancelDisconnectOperations;
|
||||
|
||||
|
||||
/**
|
||||
* Cancel any operations that are set to run on disconnect. If you previously called onDisconnectSetValue:,
|
||||
* onDisconnectRemoveValue:, or onDisconnectUpdateChildValues:, and no longer want the values updated when the
|
||||
* connection is lost, call cancelDisconnectOperations:
|
||||
*
|
||||
* @param block A block that will be triggered once the Firebase Database servers have acknowledged the cancel request.
|
||||
*/
|
||||
- (void) cancelDisconnectOperationsWithCompletionBlock:(nullable void (^)(NSError *__nullable error, FIRDatabaseReference * ref))block;
|
||||
|
||||
|
||||
#pragma mark - Manual Connection Management
|
||||
|
||||
/**
|
||||
* Manually disconnect the Firebase Database client from the server and disable automatic reconnection.
|
||||
*
|
||||
* The Firebase Database client automatically maintains a persistent connection to the Firebase Database server,
|
||||
* which will remain active indefinitely and reconnect when disconnected. However, the goOffline( )
|
||||
* and goOnline( ) methods may be used to manually control the client connection in cases where
|
||||
* a persistent connection is undesirable.
|
||||
*
|
||||
* While offline, the Firebase Database client will no longer receive data updates from the server. However,
|
||||
* all database operations performed locally will continue to immediately fire events, allowing
|
||||
* your application to continue behaving normally. Additionally, each operation performed locally
|
||||
* will automatically be queued and retried upon reconnection to the Firebase Database server.
|
||||
*
|
||||
* To reconnect to the Firebase Database server and begin receiving remote events, see goOnline( ).
|
||||
* Once the connection is reestablished, the Firebase Database client will transmit the appropriate data
|
||||
* and fire the appropriate events so that your client "catches up" automatically.
|
||||
*
|
||||
* Note: Invoking this method will impact all Firebase Database connections.
|
||||
*/
|
||||
+ (void) goOffline;
|
||||
|
||||
/**
|
||||
* Manually reestablish a connection to the Firebase Database server and enable automatic reconnection.
|
||||
*
|
||||
* The Firebase Database client automatically maintains a persistent connection to the Firebase Database server,
|
||||
* which will remain active indefinitely and reconnect when disconnected. However, the goOffline( )
|
||||
* and goOnline( ) methods may be used to manually control the client connection in cases where
|
||||
* a persistent connection is undesirable.
|
||||
*
|
||||
* This method should be used after invoking goOffline( ) to disable the active connection.
|
||||
* Once reconnected, the Firebase Database client will automatically transmit the proper data and fire
|
||||
* the appropriate events so that your client "catches up" automatically.
|
||||
*
|
||||
* To disconnect from the Firebase Database server, see goOffline( ).
|
||||
*
|
||||
* Note: Invoking this method will impact all Firebase Database connections.
|
||||
*/
|
||||
+ (void) goOnline;
|
||||
|
||||
|
||||
#pragma mark - Transactions
|
||||
|
||||
/**
|
||||
* Performs an optimistic-concurrency transactional update to the data at this location. Your block will be called with a FIRMutableData
|
||||
* instance that contains the current data at this location. Your block should update this data to the value you
|
||||
* wish to write to this location, and then return an instance of FIRTransactionResult with the new data.
|
||||
*
|
||||
* If, when the operation reaches the server, it turns out that this client had stale data, your block will be run
|
||||
* again with the latest data from the server.
|
||||
*
|
||||
* When your block is run, you may decide to abort the transaction by returning [FIRTransactionResult abort].
|
||||
*
|
||||
* @param block This block receives the current data at this location and must return an instance of FIRTransactionResult
|
||||
*/
|
||||
- (void) runTransactionBlock:(FIRTransactionResult * (^) (FIRMutableData* currentData))block;
|
||||
|
||||
|
||||
/**
|
||||
* Performs an optimistic-concurrency transactional update to the data at this location. Your block will be called with a FIRMutableData
|
||||
* instance that contains the current data at this location. Your block should update this data to the value you
|
||||
* wish to write to this location, and then return an instance of FIRTransactionResult with the new data.
|
||||
*
|
||||
* If, when the operation reaches the server, it turns out that this client had stale data, your block will be run
|
||||
* again with the latest data from the server.
|
||||
*
|
||||
* When your block is run, you may decide to abort the transaction by returning [FIRTransactionResult abort].
|
||||
*
|
||||
* @param block This block receives the current data at this location and must return an instance of FIRTransactionResult
|
||||
* @param completionBlock This block will be triggered once the transaction is complete, whether it was successful or not. It will indicate if there was an error, whether or not the data was committed, and what the current value of the data at this location is.
|
||||
*/
|
||||
- (void)runTransactionBlock:(FIRTransactionResult * (^) (FIRMutableData* currentData))block andCompletionBlock:(void (^) (NSError *__nullable error, BOOL committed, FIRDataSnapshot *__nullable snapshot))completionBlock;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Performs an optimistic-concurrency transactional update to the data at this location. Your block will be called with a FIRMutableData
|
||||
* instance that contains the current data at this location. Your block should update this data to the value you
|
||||
* wish to write to this location, and then return an instance of FIRTransactionResult with the new data.
|
||||
*
|
||||
* If, when the operation reaches the server, it turns out that this client had stale data, your block will be run
|
||||
* again with the latest data from the server.
|
||||
*
|
||||
* When your block is run, you may decide to abort the transaction by return [FIRTransactionResult abort].
|
||||
*
|
||||
* Since your block may be run multiple times, this client could see several immediate states that don't exist on the server. You can suppress those immediate states until the server confirms the final state of the transaction.
|
||||
*
|
||||
* @param block This block receives the current data at this location and must return an instance of FIRTransactionResult
|
||||
* @param completionBlock This block will be triggered once the transaction is complete, whether it was successful or not. It will indicate if there was an error, whether or not the data was committed, and what the current value of the data at this location is.
|
||||
* @param localEvents Set this to NO to suppress events raised for intermediate states, and only get events based on the final state of the transaction.
|
||||
*/
|
||||
- (void)runTransactionBlock:(FIRTransactionResult * (^) (FIRMutableData* currentData))block andCompletionBlock:(nullable void (^) (NSError *__nullable error, BOOL committed, FIRDataSnapshot *__nullable snapshot))completionBlock withLocalEvents:(BOOL)localEvents;
|
||||
|
||||
|
||||
#pragma mark - Retrieving String Representation
|
||||
|
||||
/**
|
||||
* Gets the absolute URL of this Firebase Database location.
|
||||
*
|
||||
* @return The absolute URL of the referenced Firebase Database location.
|
||||
*/
|
||||
- (NSString *) description;
|
||||
|
||||
#pragma mark - Properties
|
||||
|
||||
/**
|
||||
* Gets a FIRDatabaseReference for the parent location.
|
||||
* If this instance refers to the root of your Firebase Database, it has no parent,
|
||||
* and therefore parent( ) will return null.
|
||||
*
|
||||
* @return A FIRDatabaseReference for the parent location.
|
||||
*/
|
||||
@property (strong, readonly, nonatomic, nullable) FIRDatabaseReference * parent;
|
||||
|
||||
|
||||
/**
|
||||
* Gets a FIRDatabaseReference for the root location
|
||||
*
|
||||
* @return A new FIRDatabaseReference to root location.
|
||||
*/
|
||||
@property (strong, readonly, nonatomic) FIRDatabaseReference * root;
|
||||
|
||||
|
||||
/**
|
||||
* Gets the last token in a Firebase Database location (e.g. 'fred' in https://SampleChat.firebaseIO-demo.com/users/fred)
|
||||
*
|
||||
* @return The key of the location this reference points to.
|
||||
*/
|
||||
@property (strong, readonly, nonatomic) NSString* key;
|
||||
|
||||
/**
|
||||
* Gets the URL for the Firebase Database location referenced by this FIRDatabaseReference.
|
||||
*
|
||||
* @return The url of the location this reference points to.
|
||||
*/
|
||||
@property (strong, readonly, nonatomic) NSString* URL;
|
||||
|
||||
/**
|
||||
* Gets the FIRDatabase instance associated with this reference.
|
||||
*
|
||||
* @return The FIRDatabase object for this reference.
|
||||
*/
|
||||
@property (strong, readonly, nonatomic) FIRDatabase *database;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
140
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRMutableData.h
generated
Executable file
@@ -0,0 +1,140 @@
|
||||
/*
|
||||
* Firebase iOS Client Library
|
||||
*
|
||||
* Copyright © 2013 Firebase - All Rights Reserved
|
||||
* https://www.firebase.com
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binaryform must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
* A FIRMutableData instance is populated with data from a Firebase Database location.
|
||||
* When you are using runTransactionBlock:, you will be given an instance containing the current
|
||||
* data at that location. Your block will be responsible for updating that instance to the data
|
||||
* you wish to save at that location, and then returning using [FIRTransactionResult successWithValue:].
|
||||
*
|
||||
* To modify the data, set its value property to any of the native types support by Firebase Database:
|
||||
*
|
||||
* + NSNumber (includes BOOL)
|
||||
* + NSDictionary
|
||||
* + NSArray
|
||||
* + NSString
|
||||
* + nil / NSNull to remove the data
|
||||
*
|
||||
* Note that changes made to a child FIRMutableData instance will be visible to the parent.
|
||||
*/
|
||||
@interface FIRMutableData : NSObject
|
||||
|
||||
|
||||
#pragma mark - Inspecting and navigating the data
|
||||
|
||||
|
||||
/**
|
||||
* Returns boolean indicating whether this mutable data has children.
|
||||
*
|
||||
* @return YES if this data contains child nodes.
|
||||
*/
|
||||
- (BOOL) hasChildren;
|
||||
|
||||
|
||||
/**
|
||||
* Indicates whether this mutable data has a child at the given path.
|
||||
*
|
||||
* @param path A path string, consisting either of a single segment, like 'child', or multiple segments, 'a/deeper/child'
|
||||
* @return YES if this data contains a child at the specified relative path
|
||||
*/
|
||||
- (BOOL) hasChildAtPath:(NSString *)path;
|
||||
|
||||
|
||||
/**
|
||||
* Used to obtain a FIRMutableData instance that encapsulates the data at the given relative path.
|
||||
* Note that changes made to the child will be visible to the parent.
|
||||
*
|
||||
* @param path A path string, consisting either of a single segment, like 'child', or multiple segments, 'a/deeper/child'
|
||||
* @return A FIRMutableData instance containing the data at the given path
|
||||
*/
|
||||
- (FIRMutableData *)childDataByAppendingPath:(NSString *)path;
|
||||
|
||||
|
||||
#pragma mark - Properties
|
||||
|
||||
|
||||
/**
|
||||
* To modify the data contained by this instance of FIRMutableData, set this to any of the native types supported by Firebase Database:
|
||||
*
|
||||
* + NSNumber (includes BOOL)
|
||||
* + NSDictionary
|
||||
* + NSArray
|
||||
* + NSString
|
||||
* + nil / NSNull to remove the data
|
||||
*
|
||||
* Note that setting this value will override the priority at this location.
|
||||
*
|
||||
* @return The current data at this location as a native object
|
||||
*/
|
||||
@property (strong, nonatomic, nullable) id value;
|
||||
|
||||
|
||||
/**
|
||||
* Set this property to update the priority of the data at this location. Can be set to the following types:
|
||||
*
|
||||
* + NSNumber
|
||||
* + NSString
|
||||
* + nil / NSNull to remove the priority
|
||||
*
|
||||
* @return The priority of the data at this location
|
||||
*/
|
||||
@property (strong, nonatomic, nullable) id priority;
|
||||
|
||||
|
||||
/**
|
||||
* @return The number of child nodes at this location
|
||||
*/
|
||||
@property (readonly, nonatomic) NSUInteger childrenCount;
|
||||
|
||||
|
||||
/**
|
||||
* Used to iterate over the children at this location. You can use the native for .. in syntax:
|
||||
*
|
||||
* for (FIRMutableData* child in data.children) {
|
||||
* ...
|
||||
* }
|
||||
*
|
||||
* Note that this enumerator operates on an immutable copy of the child list. So, you can modify the instance
|
||||
* during iteration, but the new additions will not be visible until you get a new enumerator.
|
||||
*/
|
||||
@property (readonly, nonatomic, strong) NSEnumerator* children;
|
||||
|
||||
|
||||
/**
|
||||
* @return The key name of this node, or nil if it is the top-most location
|
||||
*/
|
||||
@property (readonly, nonatomic, strong, nullable) NSString* key;
|
||||
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
44
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRServerValue.h
generated
Executable file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Firebase iOS Client Library
|
||||
*
|
||||
* Copyright © 2013 Firebase - All Rights Reserved
|
||||
* https://www.firebase.com
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binaryform must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
* Placeholder values you may write into Firebase Database as a value or priority
|
||||
* that will automatically be populated by the Firebase Database server.
|
||||
*/
|
||||
@interface FIRServerValue : NSObject
|
||||
|
||||
/**
|
||||
* Placeholder value for the number of milliseconds since the Unix epoch
|
||||
*/
|
||||
+ (NSDictionary *) timestamp;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
57
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FIRTransactionResult.h
generated
Executable file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Firebase iOS Client Library
|
||||
*
|
||||
* Copyright © 2013 Firebase - All Rights Reserved
|
||||
* https://www.firebase.com
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binaryform must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "FIRMutableData.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
* Used for runTransactionBlock:. An FIRTransactionResult instance is a container for the results of the transaction.
|
||||
*/
|
||||
@interface FIRTransactionResult : NSObject
|
||||
|
||||
/**
|
||||
* Used for runTransactionBlock:. Indicates that the new value should be saved at this location
|
||||
*
|
||||
* @param value A FIRMutableData instance containing the new value to be set
|
||||
* @return An FIRTransactionResult instance that can be used as a return value from the block given to runTransactionBlock:
|
||||
*/
|
||||
+ (FIRTransactionResult *)successWithValue:(FIRMutableData *)value;
|
||||
|
||||
|
||||
/**
|
||||
* Used for runTransactionBlock:. Indicates that the current transaction should no longer proceed.
|
||||
*
|
||||
* @return An FIRTransactionResult instance that can be used as a return value from the block given to runTransactionBlock:
|
||||
*/
|
||||
+ (FIRTransactionResult *) abort;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
41
Task Master/Pods/FirebaseDatabase/Frameworks/FirebaseDatabase.framework/Headers/FirebaseDatabase.h
generated
Executable file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Firebase iOS Client Library
|
||||
*
|
||||
* Copyright © 2016 Firebase - All Rights Reserved
|
||||
* https://www.firebase.com
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice, this
|
||||
* list of conditions and the following disclaimer.
|
||||
*
|
||||
* 2. Redistributions in binaryform must reproduce the above copyright notice,
|
||||
* this list of conditions and the following disclaimer in the documentation
|
||||
* and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
* EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef FirebaseDatabase_h
|
||||
#define FirebaseDatabase_h
|
||||
|
||||
#import "FIRDatabase.h"
|
||||
#import "FIRDatabaseQuery.h"
|
||||
#import "FIRDatabaseReference.h"
|
||||
#import "FIRDataEventType.h"
|
||||
#import "FIRDataSnapshot.h"
|
||||
#import "FIRMutableData.h"
|
||||
#import "FIRServerValue.h"
|
||||
#import "FIRTransactionResult.h"
|
||||
|
||||
#endif /* FirebaseDatabase_h */
|
||||