Error: ComponentProcessingStep was unable to process 'AppApplication_HiltComponents.SingletonC' because 'DefaultActivityViewModelFactory' could not be resolved.

Releases dagger-2.34
Dagger2.34 にアップデートしたら全くビルドが通らず。

Error: ComponentProcessingStep was unable to process 'com.example.eg.AppApplication_HiltComponents.SingletonC' because 'dagger.hilt.android.internal.lifecycle.DefaultActivityViewModelFactory' could not be resolved.

なんすかねこれ。

 

androidx.hilt:hilt-lifecycle-viewmodel が不要

Hmm, the androidx.hilt:hilt-lifecycle-viewmodel artifacts were deprecated in the Dagger 2.34 release in favor of native Hilt API. The missing DefaultActivityViewModelFactory class is no longer in the Hilt codebase.

You should be able to fix this using the instructions in the 2.34 release notes to upgrade to the new HiltViewModel API.

androidx.hilt:hilt-lifecycle-viewmodel アーティファクトはDagger 2.34リリースで非推奨となり、ネイティブHilt APIに切り替わりました。

👉 ComponentProcessingStep was unable to process '*Application_HiltComponents.SingletonC' · Issue #3257 · google/dagger

New breaking changes
The alpha androidx extension @ViewModelInject is no longer supported. @ViewModelInject has been deprecated since androidx.hilt 1.0.0-alpha03 and was removed in androidx.hilt 1.0.0-beta01. Hilt now falls back to the base activity/fragment default ViewModelProviderFactory (3778ee2)

Migration steps:
Users of @ViewModelInject can migrate to @HiltViewModel which was added in Dagger 2.31.

1. Add @HiltViewModel annotation to the class
2. Replace the @ViewModelInject annotation on the constructor with @Inject.
3. Remove @Assisted from the SavedStateHandle constructor parameter, if it exists
4. Remove the old androidx.hilt:hilt-lifecycle-viewmodel dependency from your build.gradle file

👉 Release Dagger 2.34 · google/dagger 

私の場合は、上記の手順を確認して build.gradle を修正でビルド通るようになりました。削除漏れです。

androidx.hilt:hilt-lifecycle-viewmodel artifacts were deprecated in the Dagger 2.34 release in favor of native Hilt API.

build ファイルの削除漏れが影響を及ぼすことが結構多くなりました、最近。


Google Fit、微妙に違うんだなあ。

同期した同じ数値です。

グラフ形状や期間のとり方。

結構違うんだなあ。

左が、iOS 15.2。

右が、Android OS 12.0。

iPhone-Android-Google-Fit

iPhone-Android-Google-Fit

iPhone-Android-Google-Fit

iPhone-Android-Google-Fit

どちらにしても、

なんか見づらいような気がいたす。

あれか、iOSは、やっぱ、

「ヘルスケア」か。

👉 「Google Fit: アクティビティ トラッカー」をApp Storeで 
👉 Google Fit: アクティビティ記録 - Google Play のアプリ 


プライバシーに関する警告 このネットワークは暗号化されたDNSのトラフィックをブロックしています。

こんなの出てます。

Privacy Warning This network is blocking encrypted DNS traffic.

プライバシーに関する警告
このネットワークは暗号化されたDNSのトラフィックをブロックしています。
デバイスがこのネットワーク上でアクセスWebサイトやほかのサーバの名前は、このネットワーク上のほかのデバイスによって監視および記録される場合があります。

Privacy Warning
This network is blocking encrypted DNS traffic.
The names of websites and other servers your device accesses on this network may be monitored and recorded by other devices on this network.

なんすかこれ。

少し前に記事になってました。

👉 一部の通信事業者がiPhoneのiCloudプライベートリレーをブロックしている - GIGAZINE 

👉 「iPhoneのiCloudプライベートリレーをブロックしている」と報じられた通信事業者が「iOSのバグが原因」と反論 - GIGAZINE 

Apple vs 通信キャリア ですか。

 

警告を消す方法を探す

Apple サポートにチャットしてみましたが、結局これを案内するだけ。

👉 Wi-Fi ルーターと Wi-Fi アクセスポイントの推奨設定 - Apple サポート (日本) 

警告メッセージ下のリンク先と同じものを紹介されます。

一応、ルーターの設定は確認しましたが消えません。

 

結局、

1. Go to the Wi-Fi Settings of your iOS devices, forget/delete the network, then reconnect to it again. Check and confirm if the privacy warning will disappear.

2. If that doesn't help, try changing the DNS servers on the router to 8.8.8.8 and 1.1.1 (Under Advanced > Network > Internet).1 manually, then go to the Wi-Fi Settings of your iOS devices, forget/delete the network, then reconnect to it again.

👉 Network is blocking encrypted DNS Traffic - Home Network Community 

警告メッセージの出ている「ネットワーク設定を削除」から再度パスワード入力することで消えました。

このネットワークは暗号化されたDNSのトラフィックをブロックしています。

この状態で少し様子を見ることにします。

警告が復活するかもしれません。

そのときは、

また、追記していきたいと思います。

(つづく...)