<pre>========================================
FCM PUSH NOTIFICATION DEBUG
========================================

STEP 1: Service Account File
----------------------------
Path: C:\xampp\htdocs\digital_farm_medicine/farm-2112e-firebase-adminsdk-fbsvc-cad1575371.json
✅ File exists
✅ JSON parsed successfully
Project ID: farm-2112e
Client Email: firebase-adminsdk-fbsvc@farm-2112e.iam.gserviceaccount.com

STEP 2: Database Connection
----------------------------
✅ Database connected

STEP 3: Users Table Structure
----------------------------
✅ fcm_token column exists

STEP 4: User FCM Token (user_id=1)
----------------------------
User: jaya prakash reddy
✅ FCM Token exists: dU6cV9Lyq0p8P9bLqY4J0E:APA91bG...

STEP 5: JWT Token Generation
----------------------------
✅ JWT signed successfully
JWT Token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJma...

STEP 6: OAuth Token Exchange
----------------------------
HTTP Code: 200
✅ Access token received: ya29.c.c0AZ4bNpb-vPAr1vEakuAwY...

STEP 7: Send Test FCM Notification
----------------------------
FCM URL: https://fcm.googleapis.com/v1/projects/farm-2112e/messages:send
HTTP Code: 200
✅ SUCCESS! Notification sent!
Message ID: projects/farm-2112e/messages/0:1791252147106083%87ccedb187ccedb1

🎉 FCM IS WORKING! Check your phone for the notification.

========================================
DEBUG COMPLETE
========================================
</pre>