@extends('layouts.dashboard') @section('title', __('Mobile App')) @section('page_title', __('Mobile App')) @section('content')
@csrf @method('PUT')
{{ __('App identity') }}
{{ __('Shown in the app shell and on the login screen.') }}
@error('mobile_app_name')
{{ $message }}
@enderror
://payment @error('mobile_deep_link')
{{ $message }}
@enderror
{{ __('Used to return from hosted payment pages. Must match the app build.') }}
@error('mobile_support_email')
{{ $message }}
@enderror
{{ __('Version gate') }}
@error('mobile_latest_version')
{{ $message }}
@enderror
@error('mobile_min_version')
{{ $message }}
@enderror
@error('mobile_store_url_android')
{{ $message }}
@enderror
@error('mobile_store_url_ios')
{{ $message }}
@enderror
{{ __('Build a branded release') }}

{{ __('Run this from the Learnify-LMS-App folder. The app reads its colours, logo and name from this site at startup, so a rebuild is only needed when the URL, app name or deep link changes.') }}

{{ $buildCommand }}
{{ __('Swap "apk" for "appbundle", "ios" or "macos" as needed.') }}
{{ __('Branding the app uses') }}
@foreach(['mobile_app_logo' => 'light', 'mobile_app_logo_dark' => 'dark'] as $lfKey => $lfVariant) @php($lfCur = $values[$lfKey]) @php($lfSite = site_logo_url($lfVariant))
@if($lfCur) @elseif($lfSite) {{ __('Using the site logo') }} @else {{ __('Not uploaded — the app name is shown as text.') }} @endif
@error($lfKey)
{{ $message }}
@enderror @if($lfCur) @endif
@endforeach
{{ __('Shown full-width on the splash screen, the home header and the login screen — the same wordmark the website header uses. PNG or WebP with a transparent background, about 5:1, max 2 MB. The dark version is used in dark mode and on the splash gradient; without one the light logo is painted white there. Leave both empty to use the site logos.') }}
{{ __('Colours') }}

{{ __('The app pulls the logo and colours from this site every launch — change them once and every installed app follows.') }}

{{ __('Edit branding') }}
{{ __('What the app reads') }}
{{ __('Config endpoint') }}/api/v1/config
{{ __('API base') }}{{ rtrim(url('/'), '/') }}/api/v1
{{ __('Push') }}{{ setting('push_enabled', '0') === '1' ? __('Enabled') : __('Disabled') }}
{{ __('Languages') }}{{ implode(', ', array_keys(\App\Http\Middleware\SetLocale::active())) }}
@endsection @push('scripts') @endpush