Skip to content

Commit 4387ed9

Browse files
authored
cherry-picks and versions for 6.8.1 (#3805)
* Fix SIGSEGV in callback after block is nil'd (#3786) * Remove UIWebViewDelegate references (#3799) * Fix header issues exposed by :generate_multiple_pod_projects (#3803) * cherry-picks and versions for 6.8.1
1 parent 367549d commit 4387ed9

21 files changed

+49
-43
lines changed

Example/InstanceID/Tests/FIRInstanceIDCheckinServiceTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
#import <XCTest/XCTest.h>
1818

19+
#import <FirebaseInstanceID/FIRInstanceIDCheckinPreferences.h>
1920
#import <OCMock/OCMock.h>
2021
#import "Firebase/InstanceID/FIRInstanceIDCheckinPreferences+Internal.h"
2122
#import "Firebase/InstanceID/FIRInstanceIDCheckinService.h"
2223
#import "Firebase/InstanceID/FIRInstanceIDUtilities.h"
2324
#import "Firebase/InstanceID/NSError+FIRInstanceID.h"
24-
#import "Firebase/InstanceID/Private/FIRInstanceIDCheckinPreferences.h"
2525

2626
static NSString *const kDeviceAuthId = @"1234";
2727
static NSString *const kSecretToken = @"567890";

Example/InstanceID/Tests/FIRInstanceIDCheckinStoreTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#import <OCMock/OCMock.h>
2020

21+
#import <FirebaseInstanceID/FIRInstanceIDCheckinPreferences.h>
2122
#import "FIRInstanceIDFakeKeychain.h"
2223
#import "Firebase/InstanceID/FIRInstanceIDAuthKeyChain.h"
2324
#import "Firebase/InstanceID/FIRInstanceIDBackupExcludedPlist.h"
@@ -27,7 +28,6 @@
2728
#import "Firebase/InstanceID/FIRInstanceIDStore.h"
2829
#import "Firebase/InstanceID/FIRInstanceIDUtilities.h"
2930
#import "Firebase/InstanceID/FIRInstanceIDVersionUtilities.h"
30-
#import "Firebase/InstanceID/Private/FIRInstanceIDCheckinPreferences.h"
3131

3232
static const NSTimeInterval kExpectationTimeout = 12;
3333

Example/InstanceID/Tests/FIRInstanceIDStoreTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#import <XCTest/XCTest.h>
1818

19+
#import <FirebaseInstanceID/FIRInstanceIDCheckinPreferences.h>
1920
#import <OCMock/OCMock.h>
2021
#import "FIRInstanceIDFakeKeychain.h"
2122
#import "Firebase/InstanceID/FIRInstanceIDBackupExcludedPlist.h"
@@ -26,7 +27,6 @@
2627
#import "Firebase/InstanceID/FIRInstanceIDTokenInfo.h"
2728
#import "Firebase/InstanceID/FIRInstanceIDTokenStore.h"
2829
#import "Firebase/InstanceID/FIRInstanceIDUtilities.h"
29-
#import "Firebase/InstanceID/Private/FIRInstanceIDCheckinPreferences.h"
3030

3131
static NSString *const kSubDirectoryName = @"FirebaseInstanceIDStoreTest";
3232

Example/InstanceID/Tests/FIRInstanceIDTokenOperationsTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#import <XCTest/XCTest.h>
1818

19+
#import <FirebaseInstanceID/FIRInstanceID.h>
1920
#import <OCMock/OCMock.h>
2021
#import "Firebase/InstanceID/FIRInstanceIDAuthService.h"
2122
#import "Firebase/InstanceID/FIRInstanceIDCheckinPreferences+Internal.h"
@@ -30,7 +31,6 @@
3031
#import "Firebase/InstanceID/FIRInstanceIDTokenOperation+Private.h"
3132
#import "Firebase/InstanceID/FIRInstanceIDTokenOperation.h"
3233
#import "Firebase/InstanceID/NSError+FIRInstanceID.h"
33-
#import "Firebase/InstanceID/Public/FIRInstanceID.h"
3434

3535
#import <FirebaseCore/FIRAppInternal.h>
3636

Example/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ target 'Core_Example_iOS' do
2121
# The next line is the forcing function for the Firebase pod. The Firebase
2222
# version's subspecs should depend on the component versions in the
2323
# corresponding podspec's in this repo.
24-
pod 'Firebase/CoreOnly', '6.8.0'
24+
pod 'Firebase/CoreOnly', '6.8.1'
2525

2626
target 'Core_Tests_iOS' do
2727
inherit! :search_paths

Firebase/DynamicLinks/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# v4.0.5
2+
- [fixed] Removed references to UIWebViewDelegate to comply with App Store Submission warning. (#3722)
3+
14
# v4.0.4
25
- [fixed] Removed references to UIWebView to comply with App Store Submission warning. (#3722)
36

Firebase/DynamicLinks/FIRDLJavaScriptExecutor.m

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818

1919
#import "DynamicLinks/FIRDLJavaScriptExecutor.h"
2020

21-
// define below needed because nullability of UIWebViewDelegate method param was changed between
22-
// iOS SDK versions
23-
#if (defined(__IPHONE_10_0) && (__IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0))
24-
#define FIRDL_NULLABLE_IOS9_NONNULLABLE_IOS10 nonnull
25-
#else
26-
#define FIRDL_NULLABLE_IOS9_NONNULLABLE_IOS10 nullable
27-
#endif
28-
2921
NS_ASSUME_NONNULL_BEGIN
3022

3123
static NSString *const kJSMethodName = @"generateFingerprint";
@@ -50,7 +42,7 @@
5042
return methodString;
5143
}
5244

53-
@interface FIRDLJavaScriptExecutor () <UIWebViewDelegate, WKNavigationDelegate>
45+
@interface FIRDLJavaScriptExecutor () <WKNavigationDelegate>
5446
@end
5547

5648
@implementation FIRDLJavaScriptExecutor {

Firebase/InstanceID/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 2019-09 -- 4.2.5
2+
- [fixed] Fix private header imports (#3796).
3+
14
# 2019-09 -- 4.2.4
25
- [changed] Moved two headers from internal to private for Remote Config open sourcing (#3621).
36

Firebase/InstanceID/FIRInstanceIDCheckinPreferences+Internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
#import "Private/FIRInstanceIDCheckinPreferences.h"
17+
#import <FirebaseInstanceID/FIRInstanceIDCheckinPreferences.h>
1818

1919
@interface FIRInstanceIDCheckinPreferences (Internal)
2020

Firebase/InstanceID/FIRInstanceIDCheckinPreferences_Private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
#import "Private/FIRInstanceIDCheckinPreferences.h"
17+
#import <FirebaseInstanceID/FIRInstanceIDCheckinPreferences.h>
1818

1919
/** Checkin refresh interval. **/
2020
FOUNDATION_EXPORT const NSTimeInterval kFIRInstanceIDDefaultCheckinInterval;

0 commit comments

Comments
 (0)