rho-tau-extensions 6.2.0 → 7.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/libs/crosswalk/ext/platform/android/Rakefile +19 -1
- data/libs/enterprise-barcode/ext/platform/android/adds/lib/aarch64/liballbarcode.a +0 -0
- data/libs/enterprise-barcode/ext/platform/android/adds/lib/armeabi/liballbarcode.a +0 -0
- data/libs/enterprise-barcode/ext/platform/android/adds/lib/x86/liballbarcode.a +0 -0
- data/libs/enterprise-barcode/ext/platform/android/allbarcode.jar +0 -0
- data/libs/fcm-push-18/ext.yml +20 -0
- data/libs/fcm-push-18/ext/android/AndroidManifest.rb +10 -0
- data/libs/fcm-push-18/ext/android/ApplicationManifestAdds.erb +39 -0
- data/libs/fcm-push-18/ext/android/Rakefile +187 -0
- data/libs/fcm-push-18/ext/android/ext_java.files +3 -0
- data/libs/fcm-push-18/ext/android/ext_native.files +1 -0
- data/libs/fcm-push-18/ext/android/jni/src/fcmpushclient.cpp +215 -0
- data/libs/fcm-push-18/ext/android/jni/src/fcmpushclient.h +74 -0
- data/libs/fcm-push-18/ext/android/res/res/values/fireBaseValues.xml +5 -0
- data/libs/fcm-push-18/ext/android/src/com/rhomobile/rhodes/fcm/FCMFacade.java +164 -0
- data/libs/fcm-push-18/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +219 -0
- data/libs/fcm-push-18/ext/android/src/com/rhomobile/rhodes/fcm/FCMListener.java +88 -0
- data/libs/fcm-push-18/ext/build +16 -0
- data/libs/fcm-push-18/ext/build.bat +8 -0
- data/libs/fcm-push-18/ext/fcm.xml +9 -0
- data/libs/fcm-push-18/ext/iphone/ApplePush_Prefix.pch +7 -0
- data/libs/fcm-push-18/ext/iphone/Firebase.h +68 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics +0 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +62 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +115 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h +1 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h +13 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h +1 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h +1 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h +389 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h +1 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +485 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h +15 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +10 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap +10 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/FirebaseCore +0 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h +52 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRApp.h +130 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h +78 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h +35 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIROptions.h +133 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h +5 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Modules/module.modulemap +7 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics +0 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/Modules/module.modulemap +6 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID +0 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h +276 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h +1 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap +7 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/FirebaseMessaging +0 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h +508 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h +1 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap +8 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseNanoPB.framework/FirebaseNanoPB +0 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac +0 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/GoogleToolboxForMac.framework/Modules/module.modulemap +5 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/Protobuf.framework/Modules/module.modulemap +5 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/Protobuf.framework/Protobuf +0 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/nanopb.framework/Modules/module.modulemap +5 -0
- data/libs/fcm-push-18/ext/iphone/Frameworks/nanopb.framework/nanopb +0 -0
- data/libs/fcm-push-18/ext/iphone/Rakefile +81 -0
- data/libs/fcm-push-18/ext/iphone/fcm-push.xcodeproj/project.pbxproj +370 -0
- data/libs/fcm-push-18/ext/iphone/impl/PushNotificationsReceiver.h +28 -0
- data/libs/fcm-push-18/ext/iphone/impl/PushNotificationsReceiver.m +27 -0
- data/libs/fcm-push-18/ext/iphone/impl/PushNotificationsReceiver.mm +234 -0
- data/libs/fcm-push-18/ext/iphone/impl/applePushSetup.c +10 -0
- data/libs/fcm-push-18/ext/iphone/impl/applepushclient.h +69 -0
- data/libs/fcm-push-18/ext/iphone/impl/applepushclient.mm +164 -0
- data/libs/fcm-push-18/ext/iphone/impl/readme.txt +7 -0
- data/libs/fcm-push-18/ext/platform/iphone/impl/readme.txt +7 -0
- data/libs/nodejs/ext/platform/android/jxCore/jx.h +17 -1
- data/libs/nodejs/ext/platform/android/jxCore/libcares_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libcares_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libcares_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libjx_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libjx_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libjx_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libopenssl_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libopenssl_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libopenssl_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libuv_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libuv_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libuv_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_base_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_base_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_base_x64.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_arm.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_ia32.a +0 -0
- data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_x64.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/jx.h +17 -1
- data/libs/nodejs/ext/platform/iphone/jxCore/libcares.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libchrome_zlib.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libhttp_parser.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libjx.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libmozjs.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libopenssl.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libsqlite3.a +0 -0
- data/libs/nodejs/ext/platform/iphone/jxCore/libuv.a +0 -0
- data/libs/rexml-edge/rexml/attlistdecl.rb +63 -0
- data/libs/rexml-edge/rexml/attribute.rb +192 -0
- data/libs/rexml-edge/rexml/cdata.rb +68 -0
- data/libs/rexml-edge/rexml/child.rb +97 -0
- data/libs/rexml-edge/rexml/comment.rb +80 -0
- data/libs/rexml-edge/rexml/doctype.rb +270 -0
- data/libs/rexml-edge/rexml/document.rb +291 -0
- data/libs/rexml-edge/rexml/dtd/attlistdecl.rb +11 -0
- data/libs/rexml-edge/rexml/dtd/dtd.rb +47 -0
- data/libs/rexml-edge/rexml/dtd/elementdecl.rb +18 -0
- data/libs/rexml-edge/rexml/dtd/entitydecl.rb +57 -0
- data/libs/rexml-edge/rexml/dtd/notationdecl.rb +40 -0
- data/libs/rexml-edge/rexml/element.rb +1241 -0
- data/libs/rexml-edge/rexml/encoding.rb +51 -0
- data/libs/rexml-edge/rexml/entity.rb +174 -0
- data/libs/rexml-edge/rexml/formatters/default.rb +112 -0
- data/libs/rexml-edge/rexml/formatters/pretty.rb +142 -0
- data/libs/rexml-edge/rexml/formatters/transitive.rb +58 -0
- data/libs/rexml-edge/rexml/functions.rb +418 -0
- data/libs/rexml-edge/rexml/instruction.rb +71 -0
- data/libs/rexml-edge/rexml/light/node.rb +196 -0
- data/libs/rexml-edge/rexml/namespace.rb +48 -0
- data/libs/rexml-edge/rexml/node.rb +76 -0
- data/libs/rexml-edge/rexml/output.rb +30 -0
- data/libs/rexml-edge/rexml/parent.rb +166 -0
- data/libs/rexml-edge/rexml/parseexception.rb +52 -0
- data/libs/rexml-edge/rexml/parsers/baseparser.rb +533 -0
- data/libs/rexml-edge/rexml/parsers/lightparser.rb +59 -0
- data/libs/rexml-edge/rexml/parsers/pullparser.rb +197 -0
- data/libs/rexml-edge/rexml/parsers/sax2parser.rb +273 -0
- data/libs/rexml-edge/rexml/parsers/streamparser.rb +61 -0
- data/libs/rexml-edge/rexml/parsers/treeparser.rb +101 -0
- data/libs/rexml-edge/rexml/parsers/ultralightparser.rb +57 -0
- data/libs/rexml-edge/rexml/parsers/xpathparser.rb +657 -0
- data/libs/rexml-edge/rexml/quickpath.rb +266 -0
- data/libs/rexml-edge/rexml/rexml.rb +32 -0
- data/libs/rexml-edge/rexml/sax2listener.rb +98 -0
- data/libs/rexml-edge/rexml/security.rb +28 -0
- data/libs/rexml-edge/rexml/source.rb +297 -0
- data/libs/rexml-edge/rexml/streamlistener.rb +93 -0
- data/libs/rexml-edge/rexml/syncenumerator.rb +33 -0
- data/libs/rexml-edge/rexml/text.rb +426 -0
- data/libs/rexml-edge/rexml/undefinednamespaceexception.rb +9 -0
- data/libs/rexml-edge/rexml/validation/relaxng.rb +539 -0
- data/libs/rexml-edge/rexml/validation/validation.rb +144 -0
- data/libs/rexml-edge/rexml/validation/validationexception.rb +10 -0
- data/libs/rexml-edge/rexml/xmldecl.rb +116 -0
- data/libs/rexml-edge/rexml/xmltokens.rb +85 -0
- data/libs/rexml-edge/rexml/xpath.rb +81 -0
- data/libs/rexml-edge/rexml/xpath_parser.rb +704 -0
- data/version +1 -1
- metadata +118 -2
@@ -0,0 +1,15 @@
|
|
1
|
+
/// @file FIRUserPropertyNames.h
|
2
|
+
///
|
3
|
+
/// Predefined user property names.
|
4
|
+
///
|
5
|
+
/// A UserProperty is an attribute that describes the app-user. By supplying UserProperties, you can
|
6
|
+
/// later analyze different behaviors of various segments of your userbase. You may supply up to 25
|
7
|
+
/// unique UserProperties per app, and you can use the name and value of your choosing for each one.
|
8
|
+
/// UserProperty names can be up to 24 characters long, may only contain alphanumeric characters and
|
9
|
+
/// underscores ("_"), and must start with an alphabetic character. UserProperty values can be up to
|
10
|
+
/// 36 characters long. The "firebase_", "google_", and "ga_" prefixes are reserved and should not
|
11
|
+
/// be used.
|
12
|
+
|
13
|
+
/// The method used to sign in. For example, "google", "facebook" or "twitter".
|
14
|
+
static NSString *const kFIRUserPropertySignUpMethod
|
15
|
+
NS_SWIFT_NAME(AnalyticsUserPropertySignUpMethod) = @"sign_up_method";
|
data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
#import "FIRAnalyticsConfiguration.h"
|
2
|
+
#import "FIRApp.h"
|
3
|
+
#import "FIRConfiguration.h"
|
4
|
+
#import "FIROptions.h"
|
5
|
+
#import "FIRAnalytics+AppDelegate.h"
|
6
|
+
#import "FIRAnalytics.h"
|
7
|
+
#import "FIRAnalyticsSwiftNameSupport.h"
|
8
|
+
#import "FIREventNames.h"
|
9
|
+
#import "FIRParameterNames.h"
|
10
|
+
#import "FIRUserPropertyNames.h"
|
@@ -0,0 +1,52 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2017 Google
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
#import <Foundation/Foundation.h>
|
18
|
+
|
19
|
+
NS_ASSUME_NONNULL_BEGIN
|
20
|
+
|
21
|
+
/**
|
22
|
+
* This class provides configuration fields for Firebase Analytics.
|
23
|
+
*/
|
24
|
+
NS_SWIFT_NAME(AnalyticsConfiguration)
|
25
|
+
@interface FIRAnalyticsConfiguration : NSObject
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Returns the shared instance of FIRAnalyticsConfiguration.
|
29
|
+
*/
|
30
|
+
+ (FIRAnalyticsConfiguration *)sharedInstance NS_SWIFT_NAME(shared());
|
31
|
+
|
32
|
+
/**
|
33
|
+
* Sets the minimum engagement time in seconds required to start a new session. The default value
|
34
|
+
* is 10 seconds.
|
35
|
+
*/
|
36
|
+
- (void)setMinimumSessionInterval:(NSTimeInterval)minimumSessionInterval;
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Sets the interval of inactivity in seconds that terminates the current session. The default
|
40
|
+
* value is 1800 seconds (30 minutes).
|
41
|
+
*/
|
42
|
+
- (void)setSessionTimeoutInterval:(NSTimeInterval)sessionTimeoutInterval;
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Sets whether analytics collection is enabled for this app on this device. This setting is
|
46
|
+
* persisted across app sessions. By default it is enabled.
|
47
|
+
*/
|
48
|
+
- (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled;
|
49
|
+
|
50
|
+
@end
|
51
|
+
|
52
|
+
NS_ASSUME_NONNULL_END
|
@@ -0,0 +1,130 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2017 Google
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
#import <Foundation/Foundation.h>
|
18
|
+
|
19
|
+
#if TARGET_OS_IOS
|
20
|
+
// TODO: Remove UIKit import on next breaking change release
|
21
|
+
#import <UIKit/UIKit.h>
|
22
|
+
#endif
|
23
|
+
|
24
|
+
@class FIROptions;
|
25
|
+
|
26
|
+
NS_ASSUME_NONNULL_BEGIN
|
27
|
+
|
28
|
+
/** A block that takes a BOOL and has no return value. */
|
29
|
+
typedef void (^FIRAppVoidBoolCallback)(BOOL success) NS_SWIFT_NAME(FirebaseAppVoidBoolCallback);
|
30
|
+
|
31
|
+
/**
|
32
|
+
* The entry point of Firebase SDKs.
|
33
|
+
*
|
34
|
+
* Initialize and configure FIRApp using +[FIRApp configure]
|
35
|
+
* or other customized ways as shown below.
|
36
|
+
*
|
37
|
+
* The logging system has two modes: default mode and debug mode. In default mode, only logs with
|
38
|
+
* log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent
|
39
|
+
* to device. The log levels that Firebase uses are consistent with the ASL log levels.
|
40
|
+
*
|
41
|
+
* Enable debug mode by passing the -FIRDebugEnabled argument to the application. You can add this
|
42
|
+
* argument in the application's Xcode scheme. When debug mode is enabled via -FIRDebugEnabled,
|
43
|
+
* further executions of the application will also be in debug mode. In order to return to default
|
44
|
+
* mode, you must explicitly disable the debug mode with the application argument -FIRDebugDisabled.
|
45
|
+
*
|
46
|
+
* It is also possible to change the default logging level in code by calling setLoggerLevel: on
|
47
|
+
* the FIRConfiguration interface.
|
48
|
+
*/
|
49
|
+
NS_SWIFT_NAME(FirebaseApp)
|
50
|
+
@interface FIRApp : NSObject
|
51
|
+
|
52
|
+
/**
|
53
|
+
* Configures a default Firebase app. Raises an exception if any configuration step fails. The
|
54
|
+
* default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched
|
55
|
+
* and before using Firebase services. This method is thread safe.
|
56
|
+
*/
|
57
|
+
+ (void)configure;
|
58
|
+
|
59
|
+
/**
|
60
|
+
* Configures the default Firebase app with the provided options. The default app is named
|
61
|
+
* "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method is thread
|
62
|
+
* safe.
|
63
|
+
*
|
64
|
+
* @param options The Firebase application options used to configure the service.
|
65
|
+
*/
|
66
|
+
+ (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:));
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Configures a Firebase app with the given name and options. Raises an exception if any
|
70
|
+
* configuration step fails. This method is thread safe.
|
71
|
+
*
|
72
|
+
* @param name The application's name given by the developer. The name should should only contain
|
73
|
+
Letters, Numbers and Underscore.
|
74
|
+
* @param options The Firebase application options used to configure the services.
|
75
|
+
*/
|
76
|
+
// clang-format off
|
77
|
+
+ (void)configureWithName:(NSString *)name
|
78
|
+
options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:));
|
79
|
+
// clang-format on
|
80
|
+
|
81
|
+
/**
|
82
|
+
* Returns the default app, or nil if the default app does not exist.
|
83
|
+
*/
|
84
|
+
+ (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app());
|
85
|
+
|
86
|
+
/**
|
87
|
+
* Returns a previously created FIRApp instance with the given name, or nil if no such app exists.
|
88
|
+
* This method is thread safe.
|
89
|
+
*/
|
90
|
+
+ (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:));
|
91
|
+
|
92
|
+
#if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
|
93
|
+
/**
|
94
|
+
* Returns the set of all extant FIRApp instances, or nil if there are no FIRApp instances. This
|
95
|
+
* method is thread safe.
|
96
|
+
*/
|
97
|
+
@property(class, readonly, nullable) NSDictionary<NSString *, FIRApp *> *allApps;
|
98
|
+
#else
|
99
|
+
/**
|
100
|
+
* Returns the set of all extant FIRApp instances, or nil if there are no FIRApp instances. This
|
101
|
+
* method is thread safe.
|
102
|
+
*/
|
103
|
+
+ (nullable NSDictionary<NSString *, FIRApp *> *)allApps NS_SWIFT_NAME(allApps());
|
104
|
+
#endif // defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
|
105
|
+
|
106
|
+
/**
|
107
|
+
* Cleans up the current FIRApp, freeing associated data and returning its name to the pool for
|
108
|
+
* future use. This method is thread safe.
|
109
|
+
*/
|
110
|
+
- (void)deleteApp:(FIRAppVoidBoolCallback)completion;
|
111
|
+
|
112
|
+
/**
|
113
|
+
* FIRApp instances should not be initialized directly. Call +[FIRApp configure],
|
114
|
+
* +[FIRApp configureWithOptions:], or +[FIRApp configureWithNames:options:] directly.
|
115
|
+
*/
|
116
|
+
- (instancetype)init NS_UNAVAILABLE;
|
117
|
+
|
118
|
+
/**
|
119
|
+
* Gets the name of this app.
|
120
|
+
*/
|
121
|
+
@property(nonatomic, copy, readonly) NSString *name;
|
122
|
+
|
123
|
+
/**
|
124
|
+
* Gets a copy of the options for this app. These are non-modifiable.
|
125
|
+
*/
|
126
|
+
@property(nonatomic, copy, readonly) FIROptions *options;
|
127
|
+
|
128
|
+
@end
|
129
|
+
|
130
|
+
NS_ASSUME_NONNULL_END
|
@@ -0,0 +1,78 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2017 Google
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
#import <Foundation/Foundation.h>
|
18
|
+
|
19
|
+
#import "FIRAnalyticsConfiguration.h"
|
20
|
+
#import "FIRLoggerLevel.h"
|
21
|
+
|
22
|
+
/**
|
23
|
+
* The log levels used by FIRConfiguration.
|
24
|
+
*/
|
25
|
+
typedef NS_ENUM(NSInteger, FIRLogLevel) {
|
26
|
+
/** Error */
|
27
|
+
kFIRLogLevelError __deprecated = 0,
|
28
|
+
/** Warning */
|
29
|
+
kFIRLogLevelWarning __deprecated,
|
30
|
+
/** Info */
|
31
|
+
kFIRLogLevelInfo __deprecated,
|
32
|
+
/** Debug */
|
33
|
+
kFIRLogLevelDebug __deprecated,
|
34
|
+
/** Assert */
|
35
|
+
kFIRLogLevelAssert __deprecated,
|
36
|
+
/** Max */
|
37
|
+
kFIRLogLevelMax __deprecated = kFIRLogLevelAssert
|
38
|
+
} DEPRECATED_MSG_ATTRIBUTE(
|
39
|
+
"Use -FIRDebugEnabled and -FIRDebugDisabled or setLoggerLevel. See FIRApp.h for more details.");
|
40
|
+
|
41
|
+
NS_ASSUME_NONNULL_BEGIN
|
42
|
+
|
43
|
+
/**
|
44
|
+
* This interface provides global level properties that the developer can tweak, and the singleton
|
45
|
+
* of the Firebase Analytics configuration class.
|
46
|
+
*/
|
47
|
+
NS_SWIFT_NAME(FirebaseConfiguration)
|
48
|
+
@interface FIRConfiguration : NSObject
|
49
|
+
|
50
|
+
#if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
|
51
|
+
/** Returns the shared configuration object. */
|
52
|
+
@property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared);
|
53
|
+
#else
|
54
|
+
/** Returns the shared configuration object. */
|
55
|
+
+ (FIRConfiguration *)sharedInstance NS_SWIFT_NAME(shared());
|
56
|
+
#endif // defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
|
57
|
+
|
58
|
+
/** The configuration class for Firebase Analytics. */
|
59
|
+
@property(nonatomic, readwrite) FIRAnalyticsConfiguration *analyticsConfiguration;
|
60
|
+
|
61
|
+
/** Global log level. Defaults to kFIRLogLevelError. */
|
62
|
+
@property(nonatomic, readwrite, assign) FIRLogLevel logLevel DEPRECATED_MSG_ATTRIBUTE(
|
63
|
+
"Use -FIRDebugEnabled and -FIRDebugDisabled or setLoggerLevel. See FIRApp.h for more details.");
|
64
|
+
|
65
|
+
/**
|
66
|
+
* Sets the logging level for internal Firebase logging. Firebase will only log messages
|
67
|
+
* that are logged at or below loggerLevel. The messages are logged both to the Xcode
|
68
|
+
* console and to the device's log. Note that if an app is running from AppStore, it will
|
69
|
+
* never log above FIRLoggerLevelNotice even if loggerLevel is set to a higher (more verbose)
|
70
|
+
* setting.
|
71
|
+
*
|
72
|
+
* @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice.
|
73
|
+
*/
|
74
|
+
- (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel;
|
75
|
+
|
76
|
+
@end
|
77
|
+
|
78
|
+
NS_ASSUME_NONNULL_END
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2017 Google
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
/**
|
18
|
+
* The log levels used by internal logging.
|
19
|
+
*/
|
20
|
+
typedef NS_ENUM(NSInteger, FIRLoggerLevel) {
|
21
|
+
/** Error level, matches ASL_LEVEL_ERR. */
|
22
|
+
FIRLoggerLevelError = 3,
|
23
|
+
/** Warning level, matches ASL_LEVEL_WARNING. */
|
24
|
+
FIRLoggerLevelWarning = 4,
|
25
|
+
/** Notice level, matches ASL_LEVEL_NOTICE. */
|
26
|
+
FIRLoggerLevelNotice = 5,
|
27
|
+
/** Info level, matches ASL_LEVEL_NOTICE. */
|
28
|
+
FIRLoggerLevelInfo = 6,
|
29
|
+
/** Debug level, matches ASL_LEVEL_DEBUG. */
|
30
|
+
FIRLoggerLevelDebug = 7,
|
31
|
+
/** Minimum log level. */
|
32
|
+
FIRLoggerLevelMin = FIRLoggerLevelError,
|
33
|
+
/** Maximum log level. */
|
34
|
+
FIRLoggerLevelMax = FIRLoggerLevelDebug
|
35
|
+
} NS_SWIFT_NAME(FirebaseLoggerLevel);
|
@@ -0,0 +1,133 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2017 Google
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
#import <Foundation/Foundation.h>
|
18
|
+
|
19
|
+
NS_ASSUME_NONNULL_BEGIN
|
20
|
+
|
21
|
+
/**
|
22
|
+
* This class provides constant fields of Google APIs.
|
23
|
+
*/
|
24
|
+
NS_SWIFT_NAME(FirebaseOptions)
|
25
|
+
@interface FIROptions : NSObject <NSCopying>
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Returns the default options.
|
29
|
+
*/
|
30
|
+
+ (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions());
|
31
|
+
|
32
|
+
/**
|
33
|
+
* An iOS API key used for authenticating requests from your app, e.g.
|
34
|
+
* @"AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk", used to identify your app to Google servers.
|
35
|
+
*/
|
36
|
+
@property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey);
|
37
|
+
|
38
|
+
/**
|
39
|
+
* The bundle ID for the application. Defaults to `[[NSBundle mainBundle] bundleID]` when not set
|
40
|
+
* manually or in a plist.
|
41
|
+
*/
|
42
|
+
@property(nonatomic, copy) NSString *bundleID;
|
43
|
+
|
44
|
+
/**
|
45
|
+
* The OAuth2 client ID for iOS application used to authenticate Google users, for example
|
46
|
+
* @"12345.apps.googleusercontent.com", used for signing in with Google.
|
47
|
+
*/
|
48
|
+
@property(nonatomic, copy, nullable) NSString *clientID;
|
49
|
+
|
50
|
+
/**
|
51
|
+
* The tracking ID for Google Analytics, e.g. @"UA-12345678-1", used to configure Google Analytics.
|
52
|
+
*/
|
53
|
+
@property(nonatomic, copy, nullable) NSString *trackingID;
|
54
|
+
|
55
|
+
/**
|
56
|
+
* The Project Number from the Google Developer's console, for example @"012345678901", used to
|
57
|
+
* configure Google Cloud Messaging.
|
58
|
+
*/
|
59
|
+
@property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID);
|
60
|
+
|
61
|
+
/**
|
62
|
+
* The Project ID from the Firebase console, for example @"abc-xyz-123".
|
63
|
+
*/
|
64
|
+
@property(nonatomic, copy, nullable) NSString *projectID;
|
65
|
+
|
66
|
+
/**
|
67
|
+
* The Android client ID used in Google AppInvite when an iOS app has its Android version, for
|
68
|
+
* example @"12345.apps.googleusercontent.com".
|
69
|
+
*/
|
70
|
+
@property(nonatomic, copy, nullable) NSString *androidClientID;
|
71
|
+
|
72
|
+
/**
|
73
|
+
* The Google App ID that is used to uniquely identify an instance of an app.
|
74
|
+
*/
|
75
|
+
@property(nonatomic, copy) NSString *googleAppID;
|
76
|
+
|
77
|
+
/**
|
78
|
+
* The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com".
|
79
|
+
*/
|
80
|
+
@property(nonatomic, copy, nullable) NSString *databaseURL;
|
81
|
+
|
82
|
+
/**
|
83
|
+
* The URL scheme used to set up Durable Deep Link service.
|
84
|
+
*/
|
85
|
+
@property(nonatomic, copy, nullable) NSString *deepLinkURLScheme;
|
86
|
+
|
87
|
+
/**
|
88
|
+
* The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com".
|
89
|
+
*/
|
90
|
+
@property(nonatomic, copy, nullable) NSString *storageBucket;
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Initializes a customized instance of FIROptions with keys. googleAppID, bundleID and GCMSenderID
|
94
|
+
* are required. Other keys may required for configuring specific services.
|
95
|
+
*/
|
96
|
+
- (instancetype)initWithGoogleAppID:(NSString *)googleAppID
|
97
|
+
bundleID:(NSString *)bundleID
|
98
|
+
GCMSenderID:(NSString *)GCMSenderID
|
99
|
+
APIKey:(NSString *)APIKey
|
100
|
+
clientID:(NSString *)clientID
|
101
|
+
trackingID:(NSString *)trackingID
|
102
|
+
androidClientID:(NSString *)androidClientID
|
103
|
+
databaseURL:(NSString *)databaseURL
|
104
|
+
storageBucket:(NSString *)storageBucket
|
105
|
+
deepLinkURLScheme:(NSString *)deepLinkURLScheme
|
106
|
+
DEPRECATED_MSG_ATTRIBUTE(
|
107
|
+
"Use `-[[FIROptions alloc] initWithGoogleAppID:GCMSenderID:]` "
|
108
|
+
"(`FirebaseOptions(googleAppID:gcmSenderID:)` in Swift)` and property "
|
109
|
+
"setters instead.");
|
110
|
+
|
111
|
+
/**
|
112
|
+
* Initializes a customized instance of FIROptions from the file at the given plist file path.
|
113
|
+
* For example,
|
114
|
+
* NSString *filePath =
|
115
|
+
* [[NSBundle mainBundle] pathForResource:@"GoogleService-Info" ofType:@"plist"];
|
116
|
+
* FIROptions *options = [[FIROptions alloc] initWithContentsOfFile:filePath];
|
117
|
+
* Returns nil if the plist file does not exist or is invalid.
|
118
|
+
*/
|
119
|
+
- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath;
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Initializes a customized instance of FIROptions with required fields. Use the mutable properties
|
123
|
+
* to modify fields for configuring specific services.
|
124
|
+
*/
|
125
|
+
// clang-format off
|
126
|
+
- (instancetype)initWithGoogleAppID:(NSString *)googleAppID
|
127
|
+
GCMSenderID:(NSString *)GCMSenderID
|
128
|
+
NS_SWIFT_NAME(init(googleAppID:gcmSenderID:));
|
129
|
+
// clang-format on
|
130
|
+
|
131
|
+
@end
|
132
|
+
|
133
|
+
NS_ASSUME_NONNULL_END
|