File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 20
20
extern NSString *const kUniqueInstallFileName ;
21
21
22
22
NSString *const kFIRTestAppName1 = @" test_app_name_1" ;
23
- NSString *const kFIRTestAppName2 = @" test_app_name_2 " ;
23
+ NSString *const kFIRTestAppName2 = @" test-app-name-2 " ;
24
24
25
25
@interface FIRApp (TestInternal)
26
26
Original file line number Diff line number Diff line change @@ -141,9 +141,10 @@ + (void)configureWithName:(NSString *)name options:(FIROptions *)options {
141
141
char character = [lowerCaseName characterAtIndex: charIndex];
142
142
if (!((character >= ' a' && character <= ' z' )
143
143
|| (character >= ' 0' && character <= ' 9' )
144
- || character == ' _' )) {
144
+ || character == ' _'
145
+ || character == ' -' )) {
145
146
[NSException raise: kFirebaseCoreErrorDomain format: @" App name should only contain Letters, "
146
- @" Numbers and Underscore ." ];
147
+ @" Numbers, Underscores, and Dashes ." ];
147
148
}
148
149
}
149
150
You can’t perform that action at this time.
0 commit comments