Skip to content

package_info broken on ios #20761

Closed
Closed
@Rockvole

Description

@Rockvole

I read the package_info in my code which works fine on Android.
On the IPhone 6 Plus - 11.4 the code just gives a stack trace.
Code line which crashes :

PackageInfo packageInfo = await PackageInfo.fromPlatform();

Version of package_info is the latest ^0.3.2
Error is :

*** First throw call stack:
(
	0   CoreFoundation                      0x000000010660a1e6 __exceptionPreprocess + 294
	1   libobjc.A.dylib                     0x0000000105856031 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010664a0bc _CFThrowFormattedException + 194
	3   CoreFoundation                      0x000000010651d951 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 321
	4   CoreFoundation                      0x000000010651d7db +[NSDictionary dictionaryWithObjects:forKeys:count:] + 59
	5   package_info                        0x00000001051fe6a3 -[FLTPackageInfoPlugin handleMethodCall:result:] + 707
	6   Flutter                             0x0000000103aaa3e3 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 118
	7   Flutter                      <…>

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consolep: package_infoThe PackageInfo pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions