@extends('layouts.app') @section('content')
@if (user()->is_superadmin) @else @endif

@lang($pageTitle)

@if($restAPISetting->fcm_key)
@lang('restapi::app.testAndroidPushNotification') @lang('restapi::app.testIOSPushNotification')
@endif @if(user()->permission('manage_rest_api_settings') || user()->is_superadmin)
@method('PUT')
@lang('restapi::app.firebaseCloudMessaging')
@if(old('firebase_enabled', $restAPISetting->firebase_enabled ?? false)) @lang('app.enabled') @else @lang('app.disabled') @endif

@lang('restapi::app.firebaseCloudMessagingHelp')

firebase_enabled ?? false) ? 'checked' : '' }}>
@lang('restapi::app.enableFirebaseNotificationsHelp')
@lang('restapi::app.fcmServiceAccountJsonHelp')
@if(!empty($restAPISetting->fcm_service_account_file))
@lang('restapi::app.fcmServiceAccountJsonUploaded') @lang('restapi::app.currentFile'): {{ $firebaseJsonFileName }}
@if(env('APP_ENV') === 'codeanyon') @endif
@endif
@lang('restapi::app.fcmJsonStepsTitle')
  1. 1. @lang('restapi::app.fcmJsonStep1') console.cloud.google.com
  2. 2. @lang('restapi::app.fcmJsonStep2')
  3. 3. @lang('restapi::app.fcmJsonStep3')
  4. 4. @lang('restapi::app.fcmJsonStep4')
  5. 5. @lang('restapi::app.fcmJsonStep5')
  6. 6. @lang('restapi::app.fcmJsonStep6')
  7. 7. @lang('restapi::app.fcmJsonStep7')
  8. 8. @lang('restapi::app.fcmJsonStep8')
@if(!empty($restAPISetting->fcm_service_account_file))

                            
@endif
@lang('app.cancel') @lang('app.save')
@lang('app.save')
@lang('app.cancel')
@endif
@endsection @push('scripts') @endpush