vue3 で qr-code-reader

npm i vue3-qrcode-reader

import { QrcodeStream } from 'vue-qrcode-reader';

<qrcode-stream @decode="onDecode" />

はうまくいかない。

正しくは、
<qrcode-stream @detect="onDecode" />

イベントは @detect が正しい?ネット上のサンプルは古いのかも

サイトが http2 に対応しているか?

HTTP/2の動作確認方法として、以下のような検索結果になるが、
問題の Protocol が表示されていない!?のだがと思ったが
一覧のログを右クリックして、「Header options」も「Protocol」をチェックすることで表示された。

ブラウザの F12キーの開発者ツールで確認できます。
「F12キー」⇒「Network」より「Protocol」を確認します。
Protocolの箇所が「h2」になっていたらHTTP/2で通信されていることが確認できます

SourceTree で remote: HTTP Basic: Access denied

久しぶりに、SourceTree を使うと、表題のエラーが
BASIC 認証とか設定していないんだけど・・・
VScode とかのGitは使えるのに、SourceTree だけうまくいかない。
ツール → オプション → 認証 とか変更してもダメ。

SourceTree は別の場所でパスワードを保持していることが原因で
パスワードをgitサイトで変更した場合、反映されないのが原因でした。

C:\Users\ユーザー名\AppData\Local\Atlassian\SourceTree\passwd ファイルを passwd_ などに変更して
再度実行するとパスワードを確認してきて、無事にアクセスできました。

cordova android 11

cordova android 10 から結構変更しないといけない。

以下のようなエラーになる

The "" tags were detected and are no longer supported. Please migrate to the "preference" tag "AndroidWindowSplashScreenAnimatedIcon".
A problem occurred evaluating project ':app'.Failed to apply plugin 'com.android.internal.application'.
Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
Your current JDK is located in C:\Program Files\Android\jdk\microsoft_dist_openjdk_1.8.0.25\jre
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing org.gradle.java.home in gradle.properties.

cordova-plugin-splashscreen は利用できなくなったので、外す。

cordova plugin rm cordova-plugin-splashscreen

あわせて
config.xml 内の 関連は外す。
以下を追加 画像は 2732×2732 にしておく。



JDK 11以降が必要ということで、以下から最新を取得してインストール msi でインストールした。
https://learn.microsoft.com/ja-jp/java/openjdk/download

JAVA_HOME をインストールしたJDKのパスに変更
      C:\Program Files\Microsoft\jdk-17.0.4.101-hotspot

cordova-ios6.1 以降から splashScreen の設定が変わった。

ファイル名とファイルサイズは固定。

2x*	universal	any	any	2732x2732	Default@2x~universal~anyany.png
2x	universal	com	any	1278x2732	Default@2x~universal~comany.png
2x	universal	com	com	1334x750	Default@2x~universal~comcom.png
3x*	universal	any	any	2208x2208	Default@3x~universal~anyany.png
3x	universal	any	com	2208x1242	Default@3x~universal~anycom.png
3x	universal	com	any	1242x2208	Default@3x~universal~comany.png

scale	idiom	width	height	size	filename
2x*	iphone	any	any	1334x1334	Default@2x~iphone~anyany.png
2x	iphone	com	any	750x1334	Default@2x~iphone~comany.png
2x	iphone	com	com	1334x750	Default@2x~iphone~comcom.png
3x*	iphone	any	any	2208x2208	Default@3x~iphone~anyany.png
3x	iphone	any	com	2208x1242	Default@3x~iphone~anycom.png
3x	iphone	com	any	1242x2208	Default@3x~iphone~comany.png
2x*	ipad	any	any	2732x2732	Default@2x~ipad~anyany.png
2x	ipad	com	any	1278x2732	Default@2x~ipad~comany.png
config.xml
==========================================================
   <platform name="ios">
        <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
        <splash src="res/screen/ios/Default@3x~universal~anyany.png" />
        <preference name="SplashScreen" value="screen" />
        <preference name="ShowSplashScreenSpinner" value="false"/>
        <preference name="FadeSplashScreenDuration" value="0" />
        <!-- <preference name="SplashScreenDelay" value="0"/> -->
    </platform>

No version of NDK matched the requested version 21.0.6113669. Versions available locally: 22.1.7171670

android Studio でプロジェクトを実行するために、NDKやgradleをupdateしてしまったため、既存のcordova プロジェクトのビルドでエラーになった。
NDKの古いバージョンを入れるか、gradle を古いバージョンにするか・・・
とりあえず、android Studio の File -> Settings -> Android SDK -> SDK Tools から NDK(Side by Side)を外したところビルドは通った。

これからどのように対応していくべきか・・・

Dreamweaver 拡張子追加

バージョンアップする度に初期化されるのを何とかしたいのだが・・・
.php 以外の拡張子も .php と同じエディタレイアウトにする方法。

C:\Users\[ユーザー名]\AppData\Roaming\Adobe\Dreamweaver 2021\ja_JP\Configuration\DocumentTypes\MMDocumentTypes.xml

<documenttype id="PHP_MySQL" servermodel="PHP MySQL" internaltype="Dynamic" winfileextension="xxx,php,php3,php4,php5,phtml" macfileextension="xxx,php,php3,php4,php5,phtml" file="Default.php" writebyteordermark="false" mimetype="text/html">


C:\Users[ユーザー名]\AppData\Roaming\Adobe\Dreamweaver 2021\ja_JP\Configuration\Extensions.txt

にも念のために追加しておく

ITMS-90034: Missing or invalid signature

1年ぶりにiOSアプリを更新。証明書を作成、プロビジョニングファイルも作成。
更新日付にも問題ない。

なのに、アーカイブ&アップロードすると ITMS-90034: Missing or invalid signature のエラーがメールで届いていた。
証明書が正しくないとのことだが、全く問題ないように思う。

3,4回再度ダウンロードして申請するが同じ。

結果的に、 xcode での Project -> clean か、OSをアップデートしたからかの
どちらかで解消された。