mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
* Initial attempt for watchOS Database support * watchOS Package manifest changes for SwiftPM testing. * Fix iOS compilation * Further iOS changes * Further watchOS changes * Reverted !WATCHOS && 0 change, fixed SharedTestUtils * Proper logging, using positive if statements * Properly handle lifecycle changes on watchOS sockets. Also only log errors if we haven't closed things intentionally. * Cleanup: - Removal from outdated sample - Fixed podspec - Fixed Swift Package * Actually restore SwiftPM XCScheme * Restore ExtensionDelegate.swift * Revert all changes to ExtensionDelegate.swift * Cleanup from code review. * Style * Added CHANGELOG entry. * Review comments. * Style.sh * Remove unnecessary wrappers for SwiftPM * Review feedback * Formatting
30 lines
1.0 KiB
Objective-C
30 lines
1.0 KiB
Objective-C
/*
|
|
* Copyright 2017 Google
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#import <TargetConditionals.h>
|
|
#if __has_include(<UIKit/UIKit.h>) && !TARGET_OS_WATCH
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_SWIFT_NAME(SampleAppUtilities)
|
|
@interface FIRSampleAppUtilities : NSObject
|
|
|
|
+ (BOOL)appContainsRealServiceInfoPlist;
|
|
+ (void)presentAlertForInvalidServiceInfoPlistFromViewController:(UIViewController *)viewController
|
|
NS_SWIFT_NAME(presentAlertForInvalidServiceInfoPlistFrom(_:));
|
|
|
|
@end
|
|
#endif // __has_include(<UIKit/UIKit.h>) && !TARGET_OS_WATCH
|