简单记录下Flutter遇到的小坑

Google_Sign_In的文档真的是一言难尽,google-services.json如果不加进去idToken直接返回null。

做backendAuth的时候iOS和Android的token要分开处理,iOS使用的是Firebase iOS App ClientID, 而Android客户端要用Web ClientID (WTF???)

用Native code的时候一定记到要在MainActivity下加如下代码,否则你其他库的Native代码会提示missingPluginException(No implementation found for method init on channel plugins.flutter.io/google_sign_in)

@Override
public void configureFlutterEngine(@NonNull FlutterEngine flutterEngine) {
    GeneratedPluginRegistrant.registerWith(flutterEngine);
    New MethodChannel(...);
}

最后就是如果你的List一个item是null的话,在处理时读不出来会报: The getter ‘length’ was called on null. 可以说是非常的友好了。

谨以此文来安慰我一下午的时间和买了此服务器和域名一年也发不了一篇文章的心痛。

Linux Deploy Debian Note

任务管理器:sudo apt-get install mate-system-monitor

安装中文字体:sudo apt-get install ttf-wqy-microhei

中文输入法:sudo apt-get install fcitx-googlepinyin fcitx-module-cloudpinyin

安装java:

sudo apt-get install default-jre

sudo apt-get install default-jdk

安装pycharm:

sudo tar xfz pycharm-*.tar.gz -C /opt/

cd /opt/pycharm-*/bin

sudo ./pycharm.sh

安装Node.js

sudo curl -sL https://deb.nodesource.com/setup_10.x | sudo bash –
sudo apt-get install -y nodejs

 

主播BGM助手3.0 发布! 添加QQ音乐支持

3.0

时隔三个月零好几天,终于把这个坑填完了。。

之前有人说要支持QQ音乐,这个破QQ音乐窗口类名和其他腾讯全家桶一样。只能枚举所有窗口然后和进程名对比。

 

3.0更新日志:

  • 增加了对万恶的QQ音乐支持
  • 取消了半透明,增加了窗口底色全透明模式
  • 优化了滚动算法
  • 可更改字体颜色

更新了3.1:

  • 修复了严重的性能问题

 

下载地址:BGM Helper3.1

 

主播BGM助手1.0 正式发布

软件用途:直播时可显示当前播放的BGM

ss

 

记得当年写过一个酷狗歌曲名显示软件,还是在YY直播的时候。

前一阵斗鱼胖胖微博找我问我还有没有这软件,我就更新了下然后发布了这个正式版本。

 

1.0更新日志:

-软件更名为主播BGM助手

-增加对旧版酷狗的支持,2012亲测可用

-算法修改  短歌名静态显示,长歌曲名滚动显示

-可修改小窗颜色

-添加最小化到托盘

-优化CPU占用率

 

提示: 如果OBS是获取游戏源,请在OBS添加新来源获取小窗口在直播显示歌词。

 

下载地址:

BGM Helper1.0

Subscribing to the email notifications of availabilities to iPhone 6/6 plus on online Apple Store.

If you are waiting for the iPhone6 availability update on Apple Store, a website made by WEIP Tech Team has you covered. Repo.so is a free E-mail notification service that can let you know whenever the new iPhones are open for sale. You can simply go to the website http://repo.so and have your free subscription. You will receive an alert Email whenever the iPhone model you are watching is available.

 

Features and advantages of Repo.so

  1.      All the models of iPhone6/6 plus from all online Apple Stores are being monitored by our best servers.
  2.      Once the model you are watching is available, the server will send you an Email with the link to the model. You can add the iPhone to the card directly.
  3.      Email clients with notifications are highly recommended like iOS Mail App.

Read more

Xperia Z Ultra全版本双击唤醒发布!包括原生、cm、slim、魔趣。

可算全部做完了,有种这辈子也不想做第二遍的感觉哈哈。
我还是一样,说到的一定要做到。
希望大家喜欢-。-
这次除了GPe都全了,我还没有下载GPe的源码,别急。。
给我两天,我把事情忙完就做。。
最近好忙的样子,电脑送修回来了。还要检查一下

这次4个版本,文件名分别对应如下:

Stock_dt2w 官方757内核 只支持757,有可能支持761
cmStock_dt2w 原生cm内核 支持Carbon等基于cm的rom
MoKee_dt2w 魔趣内核 支持魔趣
Slim_dt2w Slim内核 支持Slim。(Carbon刷会无信号)


很不幸的是,这几个内核我还都没刷。刚做完,所以有可能有bug。
请在刷之前备份原来的内核或系统。
请刷好后做反馈!

所有内核均集成双Recovery(cwm+twrp),都是最新,我一贯作风哈哈
并且加入基于cm的rom相机打开会卡住的问题。

此项目完全开源!源码地址:https://github.com/jackie099/android_kernel_sony_msm8974
请遵守GPL协议。

感谢所有为此内核付出的人。 CM团队、魔趣团队、SLIM团队、Carbon团队、prbassplayer、faux123、blueether、reaper64646、dbolivar等

这次也做了两个版本,卡刷包和img包。
img包可以通过我的zu工具箱刷
卡刷包可以通过任意Recovery来刷。

必须解锁才能刷!

下载地址:http://pan.baidu.com/s/1eQIdM5k
*Slim的不好使的重新下载下新的,我已经更新修复了

如果您对我的工作认同并希望为长期发展提供动力,请考虑捐赠:
淘宝把收款业务关了,现在需要用手机扫描二维码并用手机支付宝。
apaqcv7zbiggxq4n4e (3).png

关于

欢迎来到Jackie099的博客2018版

新浪微博: @疯狂的099
邮箱:[email protected]

2024年4月
1234567
891011121314
15161718192021
22232425262728
2930