iOS版本13.5.1,出现注册通知后didRegisterForRemoteNotificationsWithDeviceToken回调不执行,拿不到deviceToken的现象。
同时注意到控制台输出[] nehelper sent invalid result code [1] for Wi-Fi information request信息,怀疑和该版本下获取wifi详情相关。
切换wifi后立刻收到了deviceToken。
之前的wifi是直接lan口的无线扩展。记录下

- 阅读剩余部分 -

创建工程不能用驼峰命名


flutter create ofFile
"ofFile" is not a valid Dart package name.


From the [Pubspec format
description](https://www.dartlang.org/tools/pub/pubspec.html):

**DO** use `lowercase_with_underscores` for package names.

Package names should be all lowercase, with underscores to separate words,
`just_like_this`.  Use only basic Latin letters and Arabic digits: [a-z0-9_].
Also, make sure the name is a valid Dart identifier -- that it doesn't start
with digits and isn't a reserved word.

- 阅读剩余部分 -