# 1.7.70

## Backend

Perform your usually file update. Make sure all files in the zipped folder is uploaded to your server.

{% hint style="info" %}
Note: If you are having issue about missing class after the updating.&#x20;

1. Please check that you are using the right **php 8.2** version
2. Run the composer command in your terminal: \
   `composer dump-autoload`
3. You can also run:   `composer install`&#x20;
   {% endhint %}

Glover now has support for using websocket instead of depending on firebase firestore for real time order syncing between apps. This is to help reduce cost from using firebase firestore read and writes.

How To setup **websocket** on your vps using the **laravel reverb**: 👇🏽

{% content-ref url="/pages/PlWVIKBGT8I8NCaf4tl5" %}
[Websocket Setup](/glover/supervisor-setup-vps/websocket-setup.md)
{% endcontent-ref %}

## Custome&#x72;**/Driver/Vendor**&#x20;

App Perform your usually file update.

You need to install/update **flutter 3.29.3** to run the Glover project.

{% hint style="info" %}
Note: You might have issues with IDE code analysis highlighting.

Please do run:

`flutter clean`

`flutter pub get`
{% endhint %}

***

### 🛠 Android Build Configuration Migration Notice

We’ve made important structural improvements to the Android portion of this Flutter project. Please read the following carefully before or after upgrading your source code.

***

#### ✅ What's Changed

1. **Migrated to Kotlin DSL for Gradle**
   * `build.gradle` → `build.gradle.kts` (project-level and app-level)
   * `settings.gradle` → `settings.gradle.kts`
2. **Improved build structure** using Kotlin syntax for better IDE support, type safety, and consistency.

***

#### 📌 Manual Steps After Upgrading

To ensure your Android build continues to work correctly:

**🔄 1. Delete Old Gradle Files**

Manually delete the old Groovy-based files if they exist:

```
android/build.gradle
android/app/build.gradle
android/settings.gradle
```

These are now replaced with:

```
android/build.gradle.kts
android/app/build.gradle.kts
android/settings.gradle.kts
```

**🧭 2. Update Your `applicationId` and `namespace`**

We've replaced the default `applicationId` and `namespace` with placeholders. If you're upgrading an existing project:

* Open `android/app/build.gradle.kts`
* Replace the placeholder values with your original package name:

```kotlin
namespace = "com.yourcompany.yourapp"
defaultConfig {
    applicationId = "com.yourcompany.yourapp"
}
```

> 💡 These must match your previous app’s package name to retain compatibility with Google Play, Firebase, and other services.

***

#### 🧪 After Making Changes

Run the following commands to clean and rebuild the project:

```bash
flutter clean
flutter pub get
flutter run
```

Allow **Android Studio** or **VS Code** to sync the Gradle files and apply the Kotlin DSL configuration automatically.

**Note:** These changes are designed to modernize the project and align with current Android development standards.

### iOS Build

**Note:** You need to install/update to **Xcode 16.0+** to build iOS app for this version. You also need to upgrade your Cocoapods on your mac. Required version is: **1.14.3.**

To check your cocoapods version, run this command in your terminal:

```
pod --version
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edentech.gitbook.io/glover/upgrades/1.7.70.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
