@extends('admin.layouts.app') @section('page_title', __('Push Notification Setting')) @section('content')
@include('admin.control_panel.components.sidebar', ['settings' => config('generalsettings.push-notification'), 'suffix' => ''])

@lang('Firebase Configuration')

@csrf
@error('api_key') {{ $message }} @enderror
@error('vapid_key') {{ $message }} @enderror
@error('auth_domain') {{ $message }} @enderror
@error('project_id') {{ $message }} @enderror
@error('storage_bucket') {{ $message }} @enderror
@error('messaging_sender_id') {{ $message }} @enderror
@error('app_id') {{ $message }} @enderror
@error('measurement_id') {{ $message }} @enderror
@lang("Push Notification")

@lang("Push notifications are messages that pop up while a user is using your app.")

push_notification == 1 ? 'checked' : '' }} > @error('push_notification') {{ $message }} @enderror
@lang("User Foreground")

@lang("Push notifications are sent when the user is online.")

@error('user_foreground') {{ $message }} @enderror
@lang("User Background")

@lang("Push notifications are sent when the user is offline.")

@error('user_background') {{ $message }} @enderror
@lang("Admin Foreground")

@lang("Push notifications are sent when the admin is online.")

@error('admin_foreground') {{ $message }} @enderror
@lang("Admin Background")

@lang("Push notifications are sent when the admin is offline.")

@error('admin_background') {{ $message }} @enderror

@lang("Service File")

@lang('Download')
@csrf @error('file') {{$message}} @enderror

@lang("Instruction")

@lang("Push notification provides realtime communication between servers, apps and devices. When something happens in your system, it can update web-pages, apps and devices. When an event happens on an app, the app can notify all other apps and your system

Get your free API keys") @lang('Create an account') @lang(', then create a Firebase Project, then create a web app in created Project Go to web app configuration details to get Vapid key, Api key, Auth domain, Project id, Storage bucket, Messaging sender id, App id, Measurement id.')
@endsection @push('js-lib') @endpush @push('script') @endpush