Skip to content

Commit 0ddee25

Browse files
committed
Firestack configuration WIP
1 parent d863d68 commit 0ddee25

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ios/Firestack/Firestack.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
FIRAuthStateDidChangeListenerHandle authListenerHandle;
1515
}
1616

17-
+ (Firestack *) getInstance;
1817
+ (void) registerForNotification:(NSString *) typeStr andToken:(NSData *)deviceToken;
1918

2019
@property (nonatomic) BOOL debug;

ios/Firestack/Firestack.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ @implementation Firestack
7373
if (![opts valueForKey:@"trackingID"] && [opts valueForKey:@"googleAppID"]) {
7474
[props setValue:[opts valueForKey:@"googleAppID"] forKey:@"trackingID"];
7575
}
76+
77+
if (![opts valueForKey:@"androidClientID"] && [opts valueForKey:@"clientID"]) {
78+
[props setValue[opts valueForKey:@"clientID"] forKey:@"androidClientID"];
79+
}
7680

7781
@try {
7882
FIROptions *finalOptions = [[FIROptions alloc]

0 commit comments

Comments
 (0)