flutter-sdk icon indicating copy to clipboard operation
flutter-sdk copied to clipboard

JSON Parsing Error with RemoteConfig

Open FantaMagier opened this issue 11 months ago • 18 comments

I call up RemoteConfig as usual and this error currently appears:

[error] Uncaught Platform Error [sentry.platformError] _TypeError (type 'Null' is not a subtype of type 'String' in type cast) [sentry.platformError] #0 _$QRemoteConfigurationSourceFromJson (package:qonversion_flutter/src/dto/remote_configuration_source.g.dart:19:24) #1 new QRemoteConfigurationSource.fromJson (package:qonversion_flutter/src/dto/remote_configuration_source.dart:41:7) #2 _$QRemoteConfigFromJson (package:qonversion_flutter/src/dto/remote_config.g.dart:15:32) #3 new QRemoteConfig.fromJson (package:qonversion_flutter/src/dto/remote_config.dart:28:7) #4 QMapper.remoteConfigFromJson (package:qonversion_flutter/src/internal/mapper.dart:70:26) #5 QonversionInternal.remoteConfig (package:qonversion_flutter/src/internal/qonversion_internal.dart:180:28) #6 RemoteConfigNotifer.loadRemoteConfig (package:histamin_scanner/Provider/remote_config_notifer.dart:9:26)

FantaMagier avatar Mar 15 '24 10:03 FantaMagier