aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Auth/Source/FIRActionCodeSettings.m
diff options
context:
space:
mode:
authorGravatar Xiangtian Dai <xiangtian@google.com>2017-08-03 19:05:25 -0700
committerGravatar GitHub <noreply@github.com>2017-08-03 19:05:25 -0700
commit5430b776ca6fea34d84dab09db39c51b51e551da (patch)
treeb5396a5bd85574d41d42dcb4b00b1022e1440ecd /Firebase/Auth/Source/FIRActionCodeSettings.m
parent9564abc9bf42ad8aa1ce540f9d3e7cf70319fbff (diff)
Action code fixes and improvements (#176)
* Makes Auth sample in-app password reset work on iOS 8-. * Sets default iOS bundle ID for action code settings. * Adds an entry in the Auth sample app to verify email in app. * Removes '-' from 'in-app' to be consistent with other messages in the Auth sample app.
Diffstat (limited to 'Firebase/Auth/Source/FIRActionCodeSettings.m')
-rw-r--r--Firebase/Auth/Source/FIRActionCodeSettings.m14
1 files changed, 11 insertions, 3 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];