Search by

zinxan / native-core

Matildeene

The shared NativeWatch client that zinxan/native-desktop and zinxan/native-mobile build on.

v0.2.1 2026-11-01 17:12 UTC

This package is auto-updated.

Last update: 2026-11-01 17:15:18 UTC


README

The shared NativeWatch client for error capture, privacy controls, breadcrumbs, bounded offline delivery and release evidence.

For a NativePHP app, install the integration for its platform. Composer installs this shared package automatically:

composer require zinxan/native-desktop
# Or, for iOS and Android:
composer require zinxan/native-mobile

Both integrations report to NativeWatch. Configure your project's ingest key in the app, and obtain diagnostic consent as described in the privacy guide.

Requires PHP 8.4 or newer and Illuminate 11, 12 or 13. Licensed under MIT.

To report uncaught errors and unhandled promise rejections from a web view, add @nativewatchScripts to its Blade layout. If your Content Security Policy uses a nonce, pass the nonce generated for that response:

@nativewatchScripts(Vite::cspNonce())

The SDK escapes the nonce and posts browser reports to the app's local server. Normal consent, redaction and delivery settings still apply.

Read the SDK contribution guide before opening a pull request.