aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth
diff options
context:
space:
mode:
Diffstat (limited to 'Firebase/Auth')
-rw-r--r--Firebase/Auth/Source/FIRActionCodeSettings.m14
-rw-r--r--Firebase/Auth/Source/Public/FIRActionCodeSettings.h2
2 files changed, 12 insertions, 4 deletions
diff --git a/Firebase/Auth/Source/FIRActionCodeSettings.m b/Firebase/Auth/Source/FIRActionCodeSettings.m
index 2a8fc7f..02807ff 100644
--- a/Firebase/Auth/Source/FIRActionCodeSettings.m
+++ b/Firebase/Auth/Source/FIRActionCodeSettings.m
@@ -14,11 +14,19 @@
* limitations under the License.
*/
- #import "FIRActionCodeSettings.h"
+#import "FIRActionCodeSettings.h"
- NS_ASSUME_NONNULL_BEGIN
+NS_ASSUME_NONNULL_BEGIN
- @implementation FIRActionCodeSettings
+@implementation FIRActionCodeSettings
+
+- (instancetype)init {
+ self = [super init];
+ if (self) {
+ _iOSBundleID = [NSBundle mainBundle].bundleIdentifier;
+ }
+ return self;
+}
- (void)setIOSBundleID:(NSString *)iOSBundleID {
_iOSBundleID = [iOSBundleID copy];
diff --git a/Firebase/Auth/Source/Public/FIRActionCodeSettings.h b/Firebase/Auth/Source/Public/FIRActionCodeSettings.h
index b2739dc..de56a3f 100644
--- a/Firebase/Auth/Source/Public/FIRActionCodeSettings.h
+++ b/Firebase/Auth/Source/Public/FIRActionCodeSettings.h
@@ -41,7 +41,7 @@
@property(assign, nonatomic) BOOL handleCodeInApp;
/** @property iOSBundleID
- @brief The iOS bundle ID, if available.
+ @brief The iOS bundle ID, if available. The default value is the current app's bundle ID.
*/
@property(copy, nonatomic, readonly, nullable) NSString *iOSBundleID;