=== LocalEdge — Google Business Profile Manager ===
Contributors: avision
Tags: google business profile, local seo, gbp, google my business, local search
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Stable tag: 1.0.0
License: Proprietary
License URI: https://avision.org/localedge/terms

Manage, monitor and optimize Google Business Profiles directly from your WordPress dashboard. Built for local businesses and agencies.

== Description ==

LocalEdge is a professional Google Business Profile (GBP) management plugin powered by AVI, your AI assistant for local SEO. Connect your GBP account via OAuth, monitor your listing 24/7 with Guardian Lite, track your local rankings with the heatmap, and respond to reviews — all from a single embed dashboard.

**Key Features:**

* ✅ Official Google Business Profile API (OAuth 2.0) — certified access
* 🛡️ Guardian Lite — 24/7 monitoring of 10 key GBP fields, instant alerts on suspicious changes
* 🗺️ Heatmap Rank Tracker — visualize your local ranking across your territory
* ⭐ Review Management — read, filter, and reply to all your Google reviews
* 📊 GBP Score — audit your profile completeness with actionable recommendations
* ✍️ AVI Posts — AI-generated Google posts in your profile language
* 📸 Photo Manager — sync, rename and manage your GBP photos
* 🌍 6 Languages — English, French, Spanish, Portuguese (BR), Turkish, German
* 🏢 Agency Mode — manage a fleet of client GBP listings from one dashboard (T1: 10 listings, T2: 50, T3: unlimited)

**How it works:**

1. Install and activate the plugin
2. Purchase a Solo or Agency license at avision.org/localedge
3. Connect your Google Business Profile via OAuth
4. Your embed dashboard is ready — no coding required

**Solo Plan — $49**
One Google Business Profile, all features included.

**Agency Plans**
* T1 — $89 / up to 10 client listings
* T2 — $149 / up to 50 client listings
* T3 — $249 / unlimited listings

== Installation ==

= Minimum Requirements =

* WordPress 5.8 or greater
* PHP 7.4 or greater
* MySQL 5.7 / MariaDB 10.3 or greater
* A Google Business Profile account (verified listing)
* An active LocalEdge license (avision.org/localedge)

= Automatic Installation =

1. Log in to your WordPress admin panel
2. Go to Plugins > Add New
3. Search for "LocalEdge"
4. Click Install Now and then Activate

= Manual Installation =

1. Download the localedge-plugin-v1.0.zip file
2. Go to Plugins > Add New > Upload Plugin
3. Select the ZIP file and click Install Now
4. Activate the plugin

= After Activation =

1. Visit avision.org/localedge to purchase your license
2. After payment, you will receive an email with your embed URL
3. Click the link in your email to connect your Google account
4. Select your GBP listing and your dashboard will be ready instantly

== Frequently Asked Questions ==

= Do I need a Google Business Profile account? =

Yes. LocalEdge connects to your existing verified Google Business Profile via OAuth. If you don't have one, create it at business.google.com before using LocalEdge.

= Is my Google account data safe? =

Yes. LocalEdge uses official Google OAuth 2.0. We never store your Google password. Only the access token (refreshed automatically) is stored securely in your WordPress database.

= Can I manage multiple locations? =

With the Agency plan, yes. T1 supports up to 10 client listings, T2 up to 50, T3 is unlimited.

= What is Guardian Lite? =

Guardian Lite monitors 10 key GBP fields (name, address, phone, website, hours, etc.) every day and sends you an alert if any unauthorized change is detected. Monitoring is always included — AVI credits are only used when Guardian auto-fixes a detected change (3 credits/month included, 2 credits per fix).

= What are AVI credits? =

AVI credits power AI features like post generation and Guardian auto-fix. Each license includes a starting credit balance. Additional credits can be purchased from the Agency Hub.

= Does LocalEdge work with any WordPress theme? =

Yes. LocalEdge renders as an iframe embed and is fully independent of your active theme.

= What happens if I change my Google Business Profile outside of LocalEdge? =

Guardian Lite will detect the change within 24 hours and notify you. You can then review and approve or revert the change directly from your dashboard.

= Is there a free trial? =

Guardian Lite includes a 15-day trial period when you first activate your license.

= Can I use LocalEdge on a staging site? =

Yes, but the OAuth connection and embed URL are tied to the domain where your license was activated. Contact support to transfer your license.

= Where can I get support? =

Email: support@avision.org
Documentation: avision.org/localedge/docs

== Screenshots ==

1. Home dashboard — GBP score, Guardian status, key metrics at a glance
2. Heatmap rank tracker — visualize your local ranking across your city
3. Review manager — filter, read and reply to all your Google reviews
4. GBP Score panel — profile completeness audit with per-field recommendations
5. Agency Hub — tier management, credit pool, fleet overview

== Changelog ==

= 1.0.0 =
* Initial release
* Solo and Agency plans (T1/T2/T3)
* Guardian Lite monitoring (10 GBP fields)
* Heatmap rank tracker
* Review manager with Load more pagination
* GBP Score panel (Profile / Attributes / History tabs)
* AVI post generation (OpenRouter Gemini 2.5 Flash Lite)
* Photo manager with sync and rename
* 6 languages: EN / FR / ES / PT-BR / TR / DE
* Agency Hub: tier upgrade/downgrade with Stripe prorata
* Multilingual onboarding emails
* LocalEdge password reset flow (separate from Avision)

== Upgrade Notice ==

= 1.0.0 =
Initial release. No upgrade path required.
