@extends('layouts.app') @section('title', 'QR Code') @section('page-title', 'Scan QR Code') @section('content')
Connect {{ $device->name }}
@if(config('evolution.demo_mode')) Demo Mode @endif
@if(isset($apiError))
Connection Issue

{!! $apiError !!}


What you can do:

  1. Wait a moment and click "Retry" below
  2. Check if Evolution API is running
  3. Verify the API URL in your .env file
@else
@if(!empty($qrData['qrcode_base64'])) QR Code @if(config('evolution.demo_mode'))
This is a demo QR code. In production with Evolution API running, this will be a real WhatsApp QR code.
@endif @elseif(!empty($qrData['qrcode']))

{{ $qrData['qrcode'] }}

@else

Connecting to Evolution API...

This may take a few seconds

@endif

Open WhatsApp on your phone:
Settings > Linked Devices > Link a Device
Point your phone at this screen to scan the QR code.

{{ $qrData['status'] ?? 'Waiting...' }}
@endif
@if(!isset($apiError)) @endif
@if(!isset($apiError) && empty($qrData['qrcode_base64']) && empty($qrData['qrcode'])) @endif @if(!isset($apiError)) @push('scripts') @endpush @endif @endsection