In App Update

Wilson Tovar

AuthorWilson TovarPlugin TypeCommunity PluginPriceFreeVersionv1.0.1LicenseMIT
NativePHP^3.0Android26+

Android Google Play Core in-app updates for NativePHP Mobile — supports both flexible and immediate update flows.

Android only. iOS gracefully returns a skipped response with no error.

Features

  • Flexible update flow (background download with user prompt)
  • Immediate update flow (blocking fullscreen UI)
  • Android-only with Google Play Core integration
  • iOS-safe fallback mechanism
  • PHP/Livewire and JavaScript frontend support

Installation

composer require wilsonatb/in-app-update
php artisan vendor:publish --tag=nativephp-plugins-provider
php artisan native:plugin:register wilsonatb/in-app-update

Compatibility

Platform Minimum Version
NativePHP ^3.0
iOS Not supported
Android API 26+

API

checkForUpdate();
startFlexibleUpdate();
startImmediateUpdate();
completeFlexibleUpdate();
getInstallStatus();

Events

  • InAppUpdateStateChanged — lifecycle and progress updates during the update flow
  • InAppUpdateFlowCompleted — terminal outcome (success, cancelled, failed)