Skip to content

Analyze platform-specific code (@explore subagent)

Field Value
Source opencode CLI/web
Session ses_fa8941e53ffedsBBsyRNksOQ8P
Started 2026-08-31 10:44
Messages 9
Parts 90 (text+patch+tool) · 8 reasoning · 57 tool calls
Model opencode:big-pickle
Directory /home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App

In the Flutter app at /home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App, thoroughly analyze:

  1. Android configuration (AndroidManifest.xml, build.gradle files, minSdk, targetSdk, permissions, package name)
  2. iOS configuration (Info.plist, Podfile, bundle identifier, minimum iOS version)
  3. Web configuration (if exists)
  4. Platform channels or native code
  5. Build flavors or environment configurations
  6. Any platform-specific dependencies or plugins

Check android/, ios/, web/, linux/, macos/, windows/ directories. Read the key config files and provide a complete picture of platform setup.

I’ll start by exploring the top-level structure and all platform directories in parallel.

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App</path>
<type>directory</type>
<entries>
.dart_tool/
.flutter-plugins-dependencies
.git/
.github/
.gitignore
.metadata
analysis_options.yaml
android/
assets/
CHANGELOG.md
Configuration_guide.md
devtools_options.yaml
Docs/
ios/
lib/
LICENSE
linux/
macos/
maestro/
pubspec.lock
pubspec.yaml
README.md
test/
web/
windows/
(25 entries)
</entries>

glob — {"pattern": "android/**/*", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/local.properties
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/settings.gradle
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/gradle/wrapper/gradle-wrapper.properties
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/gradle.properties
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/build.gradle
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/build.gradle
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/.gitignore
…[truncated]

glob — {"pattern": "ios/**/*", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/RunnerTests/RunnerTests.swift
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/GoogleService-Info.plist
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/GeneratedPluginRegistrant.m
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/GeneratedPluginRegistrant.h
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/UIImage+TFLite.swift
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/SwiftMlkitPlugin.swift
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCom
…[truncated]

glob — {"pattern": "web/**/*", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/manifest.json
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/index.html
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/favicon.png
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/icons/Icon-maskable-512.png
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/icons/Icon-maskable-192.png
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/icons/Icon-512.png
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/icons/Icon-192.png

glob — {"pattern": "linux/**/*", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/linux/my_application.h
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/linux/my_application.cc
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/linux/main.cc
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/linux/CMakeLists.txt
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/linux/.gitignore
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/linux/flutter/generated_plugin_registrant.cc
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/linux/flutter/CMakeLists.txt
/home/sambasene/
…[truncated]

glob — {"pattern": "macos/**/*", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Flutter/GeneratedPluginRegistrant.swift
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Flutter/ephemeral/flutter_native_integration.env
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Flutter/ephemeral/flutter_export_environment.sh
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Flutter/ephemeral/Flutter-Generated.xcconfig
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/RunnerTests/RunnerTests.swift
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Runner.xcodepr
…[truncated]

glob — {"pattern": "windows/**/*", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/windows/runner/win32_window.h
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/windows/runner/win32_window.cpp
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/windows/runner/utils.h
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/windows/runner/utils.cpp
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/windows/runner/runner.exe.manifest
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/windows/runner/resources/app_icon.ico
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/window
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/pubspec.yaml"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/pubspec.yaml</path>
<type>file</type>
<content>
1: name: bagisto_app_demo
2: description: A new Flutter project.
3: # The following line prevents the package from being accidentally published to
4: # pub.dev using `flutter pub publish`. This is preferred for private packages.
5: publish_to: 'none' # Remove this line if you wish to publish to pub.dev
6:
7: # The following defines the version and build number for your application.
8: # A version number is three numbers separated by dots, like 1.2.43
9: # followed by an optional build number separated by a +.
10: # Both the version and the builder number may be over
…[truncated]

Now let me read all the key configuration files in parallel:

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/AndroidManifest.xml"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/AndroidManifest.xml</path>
<type>file</type>
<content>
1: <!--
2: ~ Webkul Software.
3: ~ @package Mobikul Application Code.
4: ~ @Category Mobikul
5: ~ @author Webkul <support@webkul.com>
6: ~ @Copyright (c) Webkul Software Private Limited (https://webkul.com)
7: ~ @license https://store.webkul.com/license.html
8: ~ @link https://store.webkul.com/license.html
9: -->
10:
11: <manifest xmlns:android="http://schemas.android.com/apk/res/android"
12: xmlns:tools="http://schemas.android.com/tools"
13: >
14:
15: <uses-feature
16: android:name="android.hardware.camera"
17: android:required="false"
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/build.gradle"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/build.gradle</path>
<type>file</type>
<content>
1: /* old code
2: def localProperties = new Properties()
3:
4: def localPropertiesFile = rootProject.file('local.properties')
5: if (localPropertiesFile.exists()) {
6: localPropertiesFile.withReader('UTF-8') { reader ->
7: localProperties.load(reader)
8: }
9: }
10:
11: def flutterRoot = localProperties.getProperty('flutter.sdk')
12: if (flutterRoot == null) {
13: throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
14: }
15:
16: def flutterVersionCode = localProperties.getProperty('flutter.v
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/build.gradle"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/build.gradle</path>
<type>file</type>
<content>
1: buildscript {
2: ext.kotlin_version = '1.9.0'
3: repositories {
4: google()
5: mavenCentral()
6: }
7:
8:
9: dependencies {
10: classpath 'com.google.gms:google-services:4.3.15'
11: classpath 'com.android.tools.build:gradle:8.7.2'
12: classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
13: classpath 'com.google.firebase:firebase-crashlytics-gradle:2.6.1'
14:
15:
16: }
17: }
18:
19: allprojects {
20: repositories {
21: google()
22: mavenCentral()
23: }
24: }
25:
26: rootProject.buildDir = '../build'
27: subprojects {
28: project.build
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/settings.gradle"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/settings.gradle</path>
<type>file</type>
<content>
1: pluginManagement {
2: def flutterSdkPath = {
3: def properties = new Properties()
4: file("local.properties").withInputStream { properties.load(it) }
5: def flutterSdkPath = properties.getProperty("flutter.sdk")
6: assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7: return flutterSdkPath
8: }()
9:
10: includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
11:
12: repositories {
13: google()
14: mavenCentral()
15: gradlePluginPortal()
16: }
17: }
18: plugins {
19: id 'com.android.application' version '8.7.2' apply false
2
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/gradle.properties"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/gradle.properties</path>
<type>file</type>
<content>
1: #
2: # Webkul Software.
3: # @package Mobikul Application Code.
4: # @Category Mobikul
5: # @author Webkul <support@webkul.com>
6: # @Copyright (c) Webkul Software Private Limited (https://webkul.com)
7: # @license https://store.webkul.com/license.html
8: # @link https://store.webkul.com/license.html
9: #
10:
11: #org.gradle.jvmargs=-Xmx1536M
12: #android.useAndroidX=true
13: #android.enableJetifier=true
14:
15:
16: org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8
17: android.useAndroidX=true
18: android.enableJetifier=true
(End of file - total
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/gradle/wrapper/gradle-wrapper.properties"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/gradle/wrapper/gradle-wrapper.properties</path>
<type>file</type>
<content>
1: #
2: # Webkul Software.
3: # @package Mobikul Application Code.
4: # @Category Mobikul
5: # @author Webkul <support@webkul.com>
6: # @Copyright (c) Webkul Software Private Limited (https://webkul.com)
7: # @license https://store.webkul.com/license.html
8: # @link https://store.webkul.com/license.html
9: #
10:
11: distributionBase=GRADLE_USER_HOME
12: distributionPath=wrapper/dists
13: zipStoreBase=GRADLE_USER_HOME
14: zipStorePath=wrapper/dists
15: distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/debug/AndroidManifest.xml"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/debug/AndroidManifest.xml</path>
<type>file</type>
<content>
1: <!--
2: ~ Webkul Software.
3: ~ @package Mobikul Application Code.
4: ~ @Category Mobikul
5: ~ @author Webkul <support@webkul.com>
6: ~ @Copyright (c) Webkul Software Private Limited (https://webkul.com)
7: ~ @license https://store.webkul.com/license.html
8: ~ @link https://store.webkul.com/license.html
9: -->
10:
11: <manifest xmlns:android="http://schemas.android.com/apk/res/android">
12: <!-- The INTERNET permission is required for development. Specifically,
13: the Flutter tool needs it to communicate with the running application
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/Info.plist"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/Info.plist</path>
<type>file</type>
<content>
1: <?xml version="1.0" encoding="UTF-8"?>
2: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3: <plist version="1.0">
4: <dict>
5: <key>CADisableMinimumFrameDurationOnPhone</key>
6: <true/>
7: <key>CFBundleDevelopmentRegion</key>
8: <string>$(DEVELOPMENT_LANGUAGE)</string>
9: <key>CFBundleDisplayName</key>
10: <string>Bagisto Laravel App</string>
11: <key>CFBundleExecutable</key>
12: <string>$(EXECUTABLE_NAME)</string>
13: <key>CFBundleIdentifier</key>
14: <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
15
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Podfile"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Podfile</path>
<type>file</type>
<content>
1: # Uncomment this line to define a global platform for your project
2: platform :ios, '16.0' # Updated to a higher deployment target
3:
4: ENV['COCOAPODS_DISABLE_STATS'] = 'true'
5:
6: project 'Runner', {
7: 'Debug' => :debug,
8: 'Profile' => :release,
9: 'Release' => :release,
10: }
11:
12: def flutter_root
13: generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
14: unless File.exist?(generated_xcode_build_settings_path)
15: raise "#{generated_xcode_build_settings_path} must exist. If you're running
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/index.html"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/index.html</path>
<type>file</type>
<content>
1: <!--
2: ~ Webkul Software.
3: ~ @package Mobikul Application Code.
4: ~ @Category Mobikul
5: ~ @author Webkul <support@webkul.com>
6: ~ @Copyright (c) Webkul Software Private Limited (https://webkul.com)
7: ~ @license https://store.webkul.com/license.html
8: ~ @link https://store.webkul.com/license.html
9: -->
10:
11: <!DOCTYPE html>
12: <html>
13: <head>
14: <!--
15: If you are serving your web app in a path other than the root, change the
16: href value below to reflect the base path you are serving from.
17:
18: The path provided below has to start and end
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/manifest.json"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/web/manifest.json</path>
<type>file</type>
<content>
1: {
2: "name": "bagisto_2_flutter_mobile_app",
3: "short_name": "bagisto_2_flutter_mobile_app",
4: "start_url": ".",
5: "display": "standalone",
6: "background_color": "#0175C2",
7: "theme_color": "#0175C2",
8: "description": "A new Flutter project.",
9: "orientation": "portrait-primary",
10: "prefer_related_applications": false,
11: "icons": [
12: {
13: "src": "icons/Icon-192.png",
14: "sizes": "192x192",
15: "type": "image/png"
16: },
17: {
18: "src": "icons/Icon-512.png",
19: "sizes": "512x512",
20: "type": "image/png"
21: },
22: {
23: "src": "icons/Icon-mas
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/proguard-rules.pro"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/proguard-rules.pro</path>
<type>file</type>
<content>
1: # Add project specific ProGuard rules here.
2: # You can control the set of applied configuration files using the
3: # proguardFiles setting in build.gradle.
4: #
5: # For more details, see
6: # http://developer.android.com/guide/developing/tools/proguard.html
7:
8: # If your project uses WebView with JS, uncomment the following
9: # and specify the fully qualified class name to the JavaScript interface
10: # class:
11: #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12: # public *;
13: #}
14:
15: # Uncomment this to preserv
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/res/xml/network_security_config.xml"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/res/xml/network_security_config.xml</path>
<type>file</type>
<content>
1: <?xml version="1.0" encoding="utf-8"?>
2: <!--
3: ~ Webkul Software.
4: ~ @package Mobikul Application Code.
5: ~ @Category Mobikul
6: ~ @author Webkul <support@webkul.com>
7: ~ @Copyright (c) Webkul Software Private Limited (https://webkul.com)
8: ~ @license https://store.webkul.com/license.html
9: ~ @link https://store.webkul.com/license.html
10: -->
11:
12: <network-security-config>
13: <domain-config cleartextTrafficPermitted="true">
14: <domain includeSubdomains="true">api.example.com(to be adjusted)</domain>
15: <
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/res/xml/provider_paths.xml"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/res/xml/provider_paths.xml</path>
<type>file</type>
<content>
1: <!--
2: ~ Webkul Software.
3: ~ @package Mobikul Application Code.
4: ~ @Category Mobikul
5: ~ @author Webkul <support@webkul.com>
6: ~ @Copyright (c) Webkul Software Private Limited (https://webkul.com)
7: ~ @license https://store.webkul.com/license.html
8: ~ @link https://store.webkul.com/license.html
9: -->
10:
11: <paths xmlns:android="http://schemas.android.com/apk/res/android">
12: <external-path
13: name="external_files"
14: path="." />
15: </paths>
16:
(End of file - total 16 lines)
</content>

Now let me read the iOS native code files, Xcode project for bundle ID, and other platform-specific files:

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/AppDelegate.swift"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/AppDelegate.swift</path>
<type>file</type>
<content>
1: import UIKit
2: import Flutter
3: import GoogleMaps
4: import Firebase
5: import QuickLook
6: import PayPalCheckout
7:
8: @main
9: @objc class AppDelegate: FlutterAppDelegate, MessagingDelegate {
10: private var _latestLink: String?
11: private var latestLink: String? {
12: get {
13: _latestLink
14: }
15: set(latestLink) {
16:
17: _latestLink = latestLink
18: if _eventSink != nil {
19: _eventSink?(_latestLink)
20: }
21: }
22: }
23:
24: private var _eventSink: FlutterEventSink?
25: var fileURL: URL!
26: var result: FlutterResult?
27: var accessTo
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/SwiftMlkitPlugin.swift"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/SwiftMlkitPlugin.swift</path>
<type>file</type>
<content>
1: import Flutter
2: import UIKit
3:
4: public class SwiftMlkitPlugin: NSObject, FlutterPlugin {
5: public static func register(with registrar: FlutterPluginRegistrar) {
6: let channel = FlutterMethodChannel(name: "mlkit_plugin", binaryMessenger: registrar.messenger())
7: let instance = SwiftMlkitPlugin()
8: registrar.addMethodCallDelegate(instance, channel: channel)
9: }
10:
11: // public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
12: // if(call.method == "textRecognition"){
13: // let vc = MLKitViewController(ni
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/MLKitViewController.swift"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/MLKitViewController.swift</path>
<type>file</type>
<content>
1: //
2:
3:
4:
5: import UIKit
6: import AVFoundation
7: import MLKit
8:
9: class MLKitViewController: UIViewController, AVCaptureVideoDataOutputSampleBufferDelegate, UIPopoverPresentationControllerDelegate, DetectedItem {
10:
11: @IBOutlet var captureView: UIImageView!
12: @IBOutlet weak var suggestionView: UIView!
13: @IBOutlet weak var arrowImg: UIImageView!
14: @IBOutlet weak var suggestionBtn: UIButton!
15: @IBOutlet weak var crossBtn: UIButton!
16: @IBOutlet weak var suggestionTableView: UITableView!
17: @IBOutlet weak var suggestio
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/DetectViewModel.swift"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/DetectViewModel.swift</path>
<type>file</type>
<content>
1: //
2: // DetectViewModel.swift
3: /**
4: * Webkul Software.
5: *
6: * @Mobikul
7: * @PrestashopMobikulAndMarketplace
8: * @author Webkul
9: * @copyright Copyright (c) 2010-2018 Webkul Software Private Limited (https://webkul.com)
10: * @license https://store.webkul.com/license.html
11: */
12:
13: import UIKit
14:
15: protocol DetectedItem: class {
16: func DetectedValue(value: String)
17: }
18:
19: class DetectViewModel: NSObject {
20:
21: var TextStringValue: [String] = []
22: weak var delegate: DetectedItem?
23:
24: func getValue(data: [
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/UIImage+TFLite.swift"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/UIImage+TFLite.swift</path>
<type>file</type>
<content>
1: //
2: // Copyright (c) 2018 Google Inc.
3: //
4: // Licensed under the Apache License, Version 2.0 (the "License");
5: // you may not use this file except in compliance with the License.
6: // You may obtain a copy of the License at
7: //
8: // http://www.apache.org/licenses/LICENSE-2.0
9: //
10: // Unless required by applicable law or agreed to in writing, software
11: // distributed under the License is distributed on an "AS IS" BASIS,
12: // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: // See the License for th
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/Runner.entitlements"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/Runner.entitlements</path>
<type>file</type>
<content>
1: <?xml version="1.0" encoding="UTF-8"?>
2: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3: <plist version="1.0">
4: <dict>
5: <key>aps-environment</key>
6: <string>development</string>
7: <key>com.apple.developer.associated-domains</key>
8: <array>
9: <string>applinks:demo.bagisto.com</string>
10: <string>applinks:https://demo.bagisto.com/mobikul-common/</string>
11: <string>applinks:demo.bagisto.com/mobikul-common</string>
12: </array>
13: </dict>
14: </plist>
(End of file - total 14 line
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/GoogleService-Info.plist"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/GoogleService-Info.plist</path>
<type>file</type>
<content>
1: <?xml version="1.0" encoding="UTF-8"?>
2: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3: <plist version="1.0">
4: <dict>
5: <key>CLIENT_ID</key>
6: <string>1076699867652-d27bhi1cbkqslu1suo.apps.googleusercontent.com</string>
7: <key>REVERSED_CLIENT_ID</key>
8: <string>com.googleusercontent.apps67s9ig3pri6p4d27bhi1cbkqslu1suo</string>
9: <key>ANDROID_CLIENT_ID</key>
10: <string>1076699867652-f8l17n45r.apps.googleusercontent.com</string>
11: <key>API_KEY</key>
12: <string>AIzaSyAb9BLQKVbwrzFw
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Flutter/AppFrameworkInfo.plist"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Flutter/AppFrameworkInfo.plist</path>
<type>file</type>
<content>
1: <?xml version="1.0" encoding="UTF-8"?>
2: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3: <plist version="1.0">
4: <dict>
5: <key>CFBundleDevelopmentRegion</key>
6: <string>en</string>
7: <key>CFBundleExecutable</key>
8: <string>App</string>
9: <key>CFBundleIdentifier</key>
10: <string>io.flutter.flutter.app</string>
11: <key>CFBundleInfoDictionaryVersion</key>
12: <string>6.0</string>
13: <key>CFBundleName</key>
14: <string>App</string>
15: <key>CFBundlePackageType</key>
16: <string>F
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/linux/CMakeLists.txt"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/linux/CMakeLists.txt</path>
<type>file</type>
<content>
1: # Project-level configuration.
2: cmake_minimum_required(VERSION 3.10)
3: project(runner LANGUAGES CXX)
4:
5: # The name of the executable created for the application. Change this to change
6: # the on-disk name of your application.
7: set(BINARY_NAME "bagisto_2_flutter_mobile_app")
8: # The unique GTK application identifier for this application. See:
9: # https://wiki.gnome.org/HowDoI/ChooseApplicationID
10: set(APPLICATION_ID "com.example.bagisto_2_flutter_mobile_app")
11:
12: # Explicitly opt in to modern CMake behaviors to avoid warnings with recent
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Runner/Info.plist"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Runner/Info.plist</path>
<type>file</type>
<content>
1: <?xml version="1.0" encoding="UTF-8"?>
2: <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3: <plist version="1.0">
4: <dict>
5: <key>CFBundleDevelopmentRegion</key>
6: <string>$(DEVELOPMENT_LANGUAGE)</string>
7: <key>CFBundleExecutable</key>
8: <string>$(EXECUTABLE_NAME)</string>
9: <key>CFBundleIconFile</key>
10: <string></string>
11: <key>CFBundleIdentifier</key>
12: <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13: <key>CFBundleInfoDictionaryVersion</key>
14: <string>6.0</string>
15: <key>CFBundl
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Runner/Configs/AppInfo.xcconfig"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Runner/Configs/AppInfo.xcconfig</path>
<type>file</type>
<content>
1: // Application-level settings for the Runner target.
2: //
3: // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
4: // future. If not, the values below would default to using the project name when this becomes a
5: // 'flutter create' template.
6:
7: // The application's name. By default this is also the title of the Flutter window.
8: PRODUCT_NAME = bagisto_2_flutter_mobile_app
9:
10: // The application's bundle identifier
11: PRODUCT_BUNDLE_IDENTIFIER = com.example.bagisto2FlutterMobileApp
1
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Podfile"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/macos/Podfile</path>
<type>file</type>
<content>
1: platform :osx, '10.14'
2:
3: # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
4: ENV['COCOAPODS_DISABLE_STATS'] = 'true'
5:
6: project 'Runner', {
7: 'Debug' => :debug,
8: 'Profile' => :release,
9: 'Release' => :release,
10: }
11:
12: def flutter_root
13: generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
14: unless File.exist?(generated_xcode_build_settings_path)
15: raise "#{generated_xcode_build_settings_path} must exist. If you're ru
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/windows/CMakeLists.txt"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/windows/CMakeLists.txt</path>
<type>file</type>
<content>
1: # Project-level configuration.
2: cmake_minimum_required(VERSION 3.14)
3: project(bagisto_2_flutter_mobile_app LANGUAGES CXX)
4:
5: # The name of the executable created for the application. Change this to change
6: # the on-disk name of your application.
7: set(BINARY_NAME "bagisto_2_flutter_mobile_app")
8:
9: # Explicitly opt in to modern CMake behaviors to avoid warnings with recent
10: # versions of CMake.
11: cmake_policy(SET CMP0063 NEW)
12:
13: # Define build configuration option.
14: get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULT
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/google-services.json"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/google-services.json</path>
<type>file</type>
<content>
1: {
2: "project_info": {
3: "project_number": "10787652",
4: "project_id": "bagisto",
5: "storage_bucket": "bagisto"
6: },
7: "client": [
8: {
9: "client_info": {
10: "mobilesdk_app_id": "d:7627738ab9478170f06351",
11: "android_client_info": {
12: "package_name": "bagisto"
13: }
14: },
15: "oauth_client": [
16: {
17: "client_id": "rm3fb.apps.googleusercontent.com",
18: "client_type": 3
19: }
20: ],
21: "api_key": [
22: {
23: "current_key": "ksLYsYpJnascasPvW9-5oXYo2jTKzGt_A"
24: },
25: {
26: "current_key": "A-OdSNY31eascasckS9CjVEbk9_pK0j1avU"
27
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/Configuration_guide.md"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/Configuration_guide.md</path>
<type>file</type>
<content>
1:
2: # Configuration Guide:-
3:
4: **//--------------------Configuration Guide Bagisto app----------------------//**
5:
6: ### For setup the application:
7: - Path-lib/utils/server_configuration.dart
8: - Change baseUrl, defaultAppTitle, demo login email & password.
9: - To disable preFetching and caching change isPreFetchingEnable to false.
10:
11: ```
12: static const String baseUrl = "***********";
13: static const String demoEmail = "***********";
14: static const String demoPassword = "***********";
15: static const String defaultAppTitle = "*
…[truncated]

Now let me check for Android Kotlin source, the iOS Xcode project for the bundle identifier, and Dart-side platform channel code:

glob — {"path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main", "pattern": "**/*.kt"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/mlkit/textdetector/TextRecognitionProcessor.kt
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/mlkit/labeldetector/LabelDetectorProcessor.kt
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/mlkit/customviews/VisionProcessorBase.kt
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/mlkit/customviews/VisionImageProcessor.kt
/home/sambasene/dev/Yonk
…[truncated]

glob — {"path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main", "pattern": "**/*.java"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java

grep — {"pattern": "PRODUCT_BUNDLE_IDENTIFIER", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner.xcodeproj"}

Found 3 matches
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner.xcodeproj/project.pbxproj:
Line 426: PRODUCT_BUNDLE_IDENTIFIER = com.webkul.bagistoApp.iOS;
Line 562: PRODUCT_BUNDLE_IDENTIFIER = com.webkul.bagistoApp.iOS;
Line 592: PRODUCT_BUNDLE_IDENTIFIER = com.webkul.bagistoApp.iOS;

grep — {"pattern": "MethodChannel|EventChannel|platform.*channel", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib", "include": "*.dart"}

Found 3 matches
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/utils/push_notifications_manager.dart:
Line 179: const platform = MethodChannel(defaultChannelName);
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/screens/search_screen/view/search_screen.dart:
Line 292: const platform = MethodChannel(defaultChannelName);
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/screens/checkout/checkout_save_order/view/save_order.dart:
Line 33: var platform = MethodChannel(defaultChannelName);

glob — {"path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src", "pattern": "**/AndroidManifest.xml"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/profile/AndroidManifest.xml
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/debug/AndroidManifest.xml
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/AndroidManifest.xml

glob — {"path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin", "pattern": "**/*"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/mlkit/textdetector/TextRecognitionProcessor.kt
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/mlkit/labeldetector/LabelDetectorProcessor.kt
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/MainActivity.kt
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/mlkit/activities/CameraSearchActivity.kt
/home/sambasene/dev/Yonko Business/Bagisto Mobikul
…[truncated]

Let me read the key native code and Dart platform channel files:

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/MainActivity.kt"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/MainActivity.kt</path>
<type>file</type>
<content>
1: package webkul.bagisto_app_demo
2: import android.util.Log
3: import androidx.annotation.NonNull
4: import io.flutter.embedding.android.FlutterFragmentActivity
5: import io.flutter.embedding.engine.FlutterEngine
6: import io.flutter.plugin.common.MethodChannel
7: import io.flutter.plugins.GeneratedPluginRegistrant
8: import java.io.File
9: import org.apache.commons.io.FilenameUtils
10: import androidx.core.content.FileProvider
11: import android.content.Intent
12: import android.net.Uri
13: import android.app.
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/mlkit/activities/CameraSearchActivity.kt"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/mlkit/activities/CameraSearchActivity.kt</path>
<type>file</type>
<content>
1: /*
2: * Copyright 2020 Google LLC. All rights reserved.
3: *
4: * Licensed under the Apache License, Version 2.0 (the "License");
5: * you may not use this file except in compliance with the License.
6: * You may obtain a copy of the License at
7: *
8: * http://www.apache.org/licenses/LICENSE-2.0
9: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/arcore/activities/ArActivity.kt"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/kotlin/webkul/bagisto_app_demo/arcore/activities/ArActivity.kt</path>
<type>file</type>
<content>
1: /*
2: * Webkul Software.
3: *
4: * Kotlin
5: *
6: * @author Webkul <support@webkul.com>
7: * @category Webkul
8: * @package com.webkul.mobikul
9: * @copyright 2010-2018 Webkul Software Private Limited (https://webkul.com)
10: * @license https://store.webkul.com/license.html ASL Licence
11: * @link https://store.webkul.com/license.html
12: */
13:
14: package webkul.bagisto_app_demo.arcore.activities
15:
16: import android.Manifest
17: import android.app.Activity
18: import android.app.Activity
…[truncated]

grep — {"include": "*.dart", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib", "pattern": "defaultChannelName|com\\.webkul"}

Found 4 matches
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/utils/server_configuration.dart:
Line 36: const String defaultChannelName = "com.webkul.bagisto_mobikul/channel";
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/utils/push_notifications_manager.dart:
Line 179: const platform = MethodChannel(defaultChannelName);
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/screens/checkout/checkout_save_order/view/save_order.dart:
Line 33: var platform = MethodChannel(defaultChannelName);
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/screens/search_screen/view/search_
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/profile/AndroidManifest.xml"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/profile/AndroidManifest.xml</path>
<type>file</type>
<content>
1: <!--
2: ~ Webkul Software.
3: ~ @package Mobikul Application Code.
4: ~ @Category Mobikul
5: ~ @author Webkul <support@webkul.com>
6: ~ @Copyright (c) Webkul Software Private Limited (https://webkul.com)
7: ~ @license https://store.webkul.com/license.html
8: ~ @link https://store.webkul.com/license.html
9: -->
10:
11: <manifest xmlns:android="http://schemas.android.com/apk/res/android">
12: <!-- The INTERNET permission is required for development. Specifically,
13: the Flutter tool needs it to communicate with the running applicatio
…[truncated]

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/Runner-Bridging-Header.h"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/Runner-Bridging-Header.h</path>
<type>file</type>
<content>
1: #import "GeneratedPluginRegistrant.h"
(End of file - total 1 lines)
</content>

Let me check the Dart-side platform channel usage and look for any environment/build flavor config:

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/utils/server_configuration.dart"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/utils/server_configuration.dart</path>
<type>file</type>
<content>
1: /*
2: * Webkul Software.
3: * @package Mobikul Application Code.
4: * @Category Mobikul
5: * @author Webkul <support@webkul.com>
6: * @Copyright (c) Webkul Software Private Limited (https://webkul.com)
7: * @license https://store.webkul.com/license.html
8: * @link https://store.webkul.com/license.html
9: */
10:
11: // Application Specific Constants
12: import 'dart:ui';
13:
14: const int defaultSplashDelay = 3;
15:
16: const String baseDomain = "";
17:
18: ///base url for the application
19: const String baseUrl = "$baseDomain/graphql";
…[truncated]

grep — {"include": "*.dart", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib", "pattern": "invokeMethod|invokeMapMethod|invokeListMethod"}

Found 6 matches
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/utils/push_notifications_manager.dart:
Line 182: await platform.invokeMethod('fileviewer', fileName);
Line 184: await platform.invokeMethod('fileviewer', fileName);
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/screens/location/view/place_search.dart:
Line 67: SystemChannels.textInput.invokeMethod("TextInput.hide");
Line 103: .invokeMethod("TextInput.hide");
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib/screens/search_screen/view/search_screen.dart:
Line 293: var value = await platform.invokeMethod(type);
/home/sambasene/dev/Y
…[truncated]

grep — {"include": "*.dart", "path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/lib", "pattern": "receiveBroadcastStream|EventChannel"}

No files found

glob — {"path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App", "pattern": "**/flutter.env"}

No files found

glob — {"path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App", "pattern": "**/.env*"}

No files found

Let me check for Android resource layouts referenced in the Kotlin code and the Xcode project’s IPHONEOS_DEPLOYMENT_TARGET:

glob — {"path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/res/layout", "pattern": "*"}

/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/res/layout/camera_simple_spinner_item.xml
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/res/layout/activity_ar.xml
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/android/app/src/main/res/layout/activity_camera_search.xml

grep — {"path": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner.xcodeproj", "pattern": "IPHONEOS_DEPLOYMENT_TARGET"}

Found 6 matches
/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner.xcodeproj/project.pbxproj:
Line 397: IPHONEOS_DEPLOYMENT_TARGET = 12.0;
Line 420: IPHONEOS_DEPLOYMENT_TARGET = 14.0;
Line 482: IPHONEOS_DEPLOYMENT_TARGET = 12.0;
Line 531: IPHONEOS_DEPLOYMENT_TARGET = 12.0;
Line 556: IPHONEOS_DEPLOYMENT_TARGET = 14.0;
Line 586: IPHONEOS_DEPLOYMENT_TARGET = 14.0;

read — {"filePath": "/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/Classes/SwiftMlkitPlugin.swift"}

<path>/home/sambasene/dev/Yonko Business/Bagisto Mobikul/eCommerce-Flutter-App/ios/Runner/Classes/SwiftMlkitPlugin.swift</path>
<type>file</type>
<content>
1: import Flutter
2: import UIKit
3:
4: public class SwiftMlkitPlugin: NSObject, FlutterPlugin {
5: public static func register(with registrar: FlutterPluginRegistrar) {
6: let channel = FlutterMethodChannel(name: "mlkit_plugin", binaryMessenger: registrar.messenger())
7: let instance = SwiftMlkitPlugin()
8: registrar.addMethodCallDelegate(instance, channel: channel)
9: }
10:
11: // public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
12: // if(call.method == "textRecognition"){
13: // let vc = MLKitViewContr
…[truncated]

Now I have a comprehensive picture. Here is the complete platform setup analysis:


Property Value
Flutter project name bagisto_app_demo
App display name “Bagisto Laravel App”
Version 1.0.0+1 (pubspec); 2.3.2 / versionCode 232 (Android)
Author Webkul Software Private Limited
Dart SDK >=3.0.1 <4.0.0

Package Identifiers (Multiple Conflicting Values)

Section titled “Package Identifiers (Multiple Conflicting Values)”
Property Value Location
applicationId com.webkul.bagisto.mobikul android/app/build.gradle line 79
namespace (1st) webkul.bagisto_app_demo android/app/build.gradle line 55
namespace (2nd, overrides) com.example.bagisto_app_demo android/app/build.gradle line 56
Kotlin package webkul.bagisto_app_demo All .kt files
Activity class webkul.bagisto_app_demo.MainActivity AndroidManifest.xml
FileProvider authority com.webkul.bagisto.mobikul.provider AndroidManifest.xml
google-services.json package bagisto android/app/google-services.json

ISSUE: There are TWO conflicting namespace declarations in android/app/build.gradle (lines 55 and 56). The second one (com.example.bagisto_app_demo) will override the first (webkul.bagisto_app_demo). The Kotlin source files use webkul.bagisto_app_demo as their package. This is a potential build problem.

Property Value
compileSdkVersion 35
minSdkVersion 22
targetSdkVersion 35
NDK version 27.0.12077973
Java compatibility 1.8 (Java 8)
Core library desugaring Enabled (com.android.tools:desugar_jdk_libs:2.1.5)
Property Value
Gradle 8.10.2
Android Gradle Plugin 8.7.2
Kotlin 1.9.0 (buildscript) / 2.0.0 (settings plugin)
Google Services plugin 4.3.15 (classpath) / 4.4.2 (settings)
Firebase Crashlytics 2.6.1 (classpath) / 3.0.3 (settings)
Firebase BOM 29.1.0
Permission Purpose
INTERNET Network access
ACCESS_FINE_LOCATION GPS location
ACCESS_COARSE_LOCATION Approximate location
ACCESS_NETWORK_STATE Network state checks
CAMERA Camera access for ML Kit search
RECORD_AUDIO Voice search (speech_to_text)
WRITE_EXTERNAL_STORAGE File storage
READ_EXTERNAL_STORAGE File reading
READ_PHONE_STATE Device info
POST_NOTIFICATIONS Android 13+ push notifications
ACCESS_MEDIA_LOCATION Media file access
USE_BIOMETRIC Fingerprint/biometric auth
Type minify shrinkResources signing
debug false – default debug key
release true true Custom keystore (hardcoded path)

SECURITY ISSUE: The release signing config in build.gradle has hardcoded credentials:

  • storePassword 'admin123'
  • keyPassword 'admin123'
  • storeFile file('/Users/afzal/AndroidStudioProjects/...')
Library Version Purpose
ML Kit Text Recognition 18.0.0 Camera text search
ML Kit Image Labeling 17.0.7 Camera image search
ML Kit Image Labeling Custom 17.0.1 Custom label detection
ARCore 1.30.0 AR product viewing
Sceneform UX 1.17.1 AR 3D model rendering
Glide 4.12.0 Image loading
OkHttp 4.12.0 HTTP for PayPal
Gson 2.10.1 JSON for PayPal
PayPal Web Payments SDK 1.5.0 PayPal checkout
Commons IO 2.11.0 File utilities
Material Components 1.5.0 UI

Custom ProGuard rules suppress warnings for ARCore/Sceneform and desugaring runtime.


Bundle Identifiers (Multiple Inconsistent Values)

Section titled “Bundle Identifiers (Multiple Inconsistent Values)”

| Loca

…[truncated]

8 internal reasoning block(s) omitted — raw thinking is not exported (see archive index).