20 lines
997 B
PHP
Executable File
20 lines
997 B
PHP
Executable File
<?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';
|