Skip to content

Commit 4f7a88b

Browse files
authored
Change numberValue to be nonnull (#6623)
* Change numberValue to be nonnull * Add changelog
1 parent d74b89b commit 4f7a88b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

FirebaseRemoteConfig/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# v7.0.0
22
- [changed] Updated `lastFetchTime` field to readonly. (#6567)
33
- [changed] Functionally neutral change to stop using a deprecated method in the AB Testing API. (#6543)
4+
- [fixed] Updated `numberValue` to be nonnull to align with current behavior. (#6623)
45

56
# v4.9.1
67
- [fixed] Fix an `attempt to insert nil object` crash in `fetchWithExpirationDuration:`. (#6522)

FirebaseRemoteConfig/Sources/Public/FirebaseRemoteConfig/FIRRemoteConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ NS_SWIFT_NAME(RemoteConfigValue)
109109
/// Gets the value as a string.
110110
@property(nonatomic, readonly, nullable) NSString *stringValue;
111111
/// Gets the value as a number value.
112-
@property(nonatomic, readonly, nullable) NSNumber *numberValue;
112+
@property(nonatomic, readonly, nonnull) NSNumber *numberValue;
113113
/// Gets the value as a NSData object.
114114
@property(nonatomic, readonly, nonnull) NSData *dataValue;
115115
/// Gets the value as a boolean.

0 commit comments

Comments
 (0)