問題タブ [apple-appclips]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ios - App Clip - Support Multiple Businesses Locations
When I designed my App Clip Launch experience, I had in mind that the App can only be triggered via QR code, NFC or App Clip Code. That why I linked the App Launch to a specific location with specific Id.
When my App went live last week, and when I try to scan a NFC tag the App is launching as expected every time.
Now, if I tap the App Clip icon on the home screen, the App is launching with the last URL scanned I dig some googling and I found that the App Clip is caching the last URL scanned and simulating a universal link launch when icon tapped!
This is not working for me! So I am looking for a way to check if the App was launched via scan or tap? I tried to log the App launch but it's always running in the order either via Scan (NFC) or icon tap:
How can I check if the user launched the App via Tap or Scan? Knowing that the App is always simulating Universal launch Link when icon tapped!
Or how I can look for the saved URL? I tried to fetch all UserDefaults and Some Keychain data, but I found nothing!
ios - NFC タグを使用して App Clip の起動エクスペリエンスを修正するにはどうすればよいですか?
iOS 14.2 を実行し、Xcode 12.2 RC を使用してビルドした iPhone 7 を使用して、App Clip の起動エクスペリエンスをセットアップしました。
私の目標は、NFC タグを使用して App Clip を起動することですが、正しく動作していないようです。コントロール センターでネイティブの NFC タグ リーダーを使用すると、スピナーが無期限に回転しますが、App Clip は開きません。ただし、ネイティブの QR コード スキャナーを使用して QR コードから同じ正確な URL をスキャンすると、問題なく App Clip が開きます。
このビデオは、実際の問題を示しています https://youtu.be/sobDXKLCTP0
これは既知の問題ですか? QR コードのスキャンが期待どおりに機能することを知っていたのに、設定を間違えたのでしょうか? バックグラウンド NFC スキャンをサポートする新しい iPhone のみを使用して、この機能が正しく動作することを示すビデオを見たことがあります。