|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | + <title>App Link Test</title> |
| 7 | + <script src="https://cdn.tailwindcss.com"></script> |
| 8 | + </head> |
| 9 | + <body class="flex items-center justify-center h-screen bg-gray-100"> |
| 10 | + <div class="text-center"> |
| 11 | + <h1 class="text-4xl font-bold text-blue-600">App Link Test Page</h1> |
| 12 | + <p class="mt-4 text-gray-700">Click a link to open the app:</p> |
| 13 | + <a |
| 14 | + href="https://app-link-testing2.web.app/user/123" |
| 15 | + class="mt-4 inline-block px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600" |
| 16 | + > |
| 17 | + Open in App |
| 18 | + </a> |
| 19 | + </div> |
| 20 | + </body> |
| 21 | + |
| 22 | + <script type="module"> |
| 23 | + // Import the functions you need from the SDKs you need |
| 24 | + import { initializeApp } from "https://www.gstatic.com/firebasejs/12.1.0/firebase-app.js"; |
| 25 | + import { getAnalytics } from "https://www.gstatic.com/firebasejs/12.1.0/firebase-analytics.js"; |
| 26 | + // TODO: Add SDKs for Firebase products that you want to use |
| 27 | + // https://firebase.google.com/docs/web/setup#available-libraries |
| 28 | + |
| 29 | + // Your web app's Firebase configuration |
| 30 | + // For Firebase JS SDK v7.20.0 and later, measurementId is optional |
| 31 | + const firebaseConfig = { |
| 32 | + apiKey: "AIzaSyCG2VNRUnUvf1Q0OT82Mb7-yEm94xTi_HM", |
| 33 | + authDomain: "project2-f5cb2.firebaseapp.com", |
| 34 | + databaseURL: |
| 35 | + "https://project2-f5cb2-default-rtdb.asia-southeast1.firebasedatabase.app", |
| 36 | + projectId: "project2-f5cb2", |
| 37 | + storageBucket: "project2-f5cb2.appspot.com", |
| 38 | + messagingSenderId: "180310985028", |
| 39 | + appId: "1:180310985028:web:1cfee351fae8e137eb6f11", |
| 40 | + measurementId: "G-5K3T7W10SX", |
| 41 | + }; |
| 42 | + |
| 43 | + // Initialize Firebase |
| 44 | + const app = initializeApp(firebaseConfig); |
| 45 | + const analytics = getAnalytics(app); |
| 46 | + </script> |
| 47 | +</html> |
0 commit comments