Files
Ontime/backendpanel/application/config/fcm.php
2026-04-01 11:55:47 +07:00

20 lines
997 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
defined('BASEPATH') or exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Legacy FCM config DO NOT USE
|--------------------------------------------------------------------------
| Push notifications use FCM HTTP v1 only (see application/helpers/fcm_v1_helper.php).
| Service account path/project id live in application/config/config.php (constants
| FCM_CREDENTIALS_PATH, FCM_CREDENTIALS_JSON, FCM_PROJECT_ID). This file exists so the
| deprecated application/libraries/Fcm.php does not load a missing config; do not
| use the legacy library (no legacy API key).
|
| Mobile login (Pelanggan/login, Merchant/login, Driver/login) expects a device token
| from the APK (Firebase getToken). To allow clients without a token (e.g. API tests),
| set $config['fcm_login_allow_no_device_token'] = true in config.php.
*/
$config['fcm_api_key'] = '';
$config['fcm_api_send_address'] = 'https://fcm.googleapis.com/fcm/send';