Below is common questions regarding to the Fluxstore product and solutions to resolve the issues.

💬 [FluxStore MV] How to solve error when building for iOS device?

  • Issue: Xcode couldn't find any iOS App Development provisioning profiles matching.

FDK path

  • Solution: Please use this command to create a key:

    keytool -genkey -v -keystore flutterreleaseapk.jks -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

    Then match the created key with key.properties file.


💬 [FluxStore MV] Outdate Cocopod issue

  • Issue: Failed to launch the app on the iOS Simulator platform because of outdate Cocopod.
Xcode's output:
↳
/Users/Ammar/Downloads/FluxStore-vendor-1.2.0b/source/ios/Pods/Protobuf/objectivec/google/protobuf/Wrappers.pbobjc.m:17:10: warning: non-portable path to file '<protobuf/Wrappers.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Wrappers.pbobjc.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
<protobuf/Wrappers.pbobjc.h>
1 warning generated.
/Users/Ammar/Downloads/FluxStore-vendor-1.2.0b/source/ios/Pods/Protobuf/objectivec/google/protobuf/Type.pbobjc.m:19:10: warning: non-portable path to file '<protobuf/Type.pbobjc.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import <Protobuf/Type.pbobjc.h>
  • Solution: it's solved by updating cocoapods "pod repo update"; remove ios/Pods folder, Podfile, Podfile.lock; then run "flutter clean".

💬 [FluxStore] How to solve error when going to shipping step?

  • Issue: getting the shipping error during checkout when going to the shipping step.

  • Solution: Check how may shipping id and change exactly ZoneIDShipping in /lib/common/config.dart. If your shipping zone is 1,2 then typing 1,2 . If your shipping zone ID is 1, you need to type only 1. If you type extra id or wrong id this error will be occur.


💬 [FluxStore] How to solve Home screen issue in Arabic language?

  • Issue: Home Screen loads everything in english when switching to Arabic Language

  • Solution: you need to change changeLanguage function in models/app.dart like this

void changeLanguage(String country, BuildContext context) async {
    try {
      SharedPreferences prefs = await SharedPreferences.getInstance();
      locale = country;
      Provider.of<CategoryModel>(context).getCategories(lang: country);
      await prefs.setString("language", country);
      await loadAppConfig();
      notifyListeners();
    } catch (err) {}
  }

💬 [FluxStore] How to solve issue when building iOS?

  • Issue: registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... FAILURE: Build failed with an exception.
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... * What went wrong:
Running Gradle task 'assembleRelease'... Execution failed for task ':device_apps:verifyReleaseResources'.
Running Gradle task 'assembleRelease'... > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Running Gradle task 'assembleRelease'...
  • Solution: try to replace pubspec.yam pubspec.yaml.zip Then add googleServices { disableVersionCheck = true } at the bottom of android/app/build.gradle

💬 [FluxStore Pro - Opencart] Opencart building issue

  • Issue: when starting opencart based app.
I/flutter ( 5194): The following assertion was thrown building Consumer(dirty, dependencies:
I/flutter ( 5194): [InheritedProvider]):
I/flutter ( 5194): 'dart:ui/window.dart': Failed assertion: line 281: '': is not true.
I/flutter ( 5194):
I/flutter ( 5194): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter ( 5194): more information in this error message to help you determine and fix the underlying cause.

💬 I can not find out the Get dependencies or Packages get on the pubspec.yaml tab.

  • Solution: Select **Android Studio > Preferences ** and add the Flutter SDK path. (The Flutter SDK path is the location that you install Flutter environment).

FDK path

Then the Flutter command bar will display as below picture:

Packages_get


💬 How to solve the lock issue when pressing the run button to start project?

Flutter packages get
Waiting for another flutter command to release the startup lock...
  • Solution: Go to your flutter folder /flutter/bin/cache/ and delete the lockfile file.

💬 How to solve "Flutter is exited unexpectedly" issue when installing FluxStore on Windows?

FluxStore_Windows_issue

  • Solution:

    • Step 1: Copy the source folder to another location.
    • Step 2: Delete the build folder in the source folder.
    • Step 3: In Android Studio, select File > Open > source folder in the new location > This Window.
    • Step 4: Press PLAY icon to install again.

💬 The product image is empty

Fluxstore supports optimizing image loading by using the Regenerate Thumbnails plugin. Please make sure to follow the step 2 above to run the app: https://gyazo.com/e902d20dd56a7c033f4d18155fba8d24


💬 Does it include full source code package and easy to customize ?

Yes, you will get the full source code package and also the free Wordpress plugins.


💬 Can I release the app to both iOS and Android?

Yes, because this is made by Flutter framework which supporting to release for both iOS and Android. Please discover more the framework from http://flutter.dev


💬 Will i get the free upgrade on next coming version ?

Yes you will get the free upgrade with more awesome features coming. Please follow the change logs to see the detailed update. You will get the notify email for new version update on stores.


💬 Throw exception when register or login ?

Making sure you had already installed MStore API plugin, JSON API plugin.


💬 Throw exception when login sms ?

sms

  • You need to create a project on firebase console.
  • Add an app for android and set package name, add fingerprint. You can check this link to know how to generate SHA1 https://developers.google.com/android/guides/client-auth
  • Download file google-services.json and put to android/app folder.

💬 How to Change the Menu UI Icon, how to change any UI from the app?

The solution to answer the questions like "how to change my homepage icons", "how to change the layout to xyz", is using the Inspector Tools from Android Studio.

Please refer to this document for the detailed guidline:


💬 Could not create new product (Fluxstore Multi Vendor)

Double check the .htaccess file and make sure the content should be

RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]

Move the definition of JWT_AUTH_SECRET_KEY to the top of your wp-config.php file

define('JWT_AUTH_SECRET_KEY', 'your-top-secrect-key');

You can use a secret-key string from here https://api.wordpress.org/secret-key/1.1/salt/

More solution Ref: https://github.com/Tmeister/wp-api-jwt-auth/issues/59


💬 Failed to login to the Fluxstore application

Double check the Settings/Json API, active the MStoreUser and input "api" to API base to active the API following the below image.

fluxstore-api-3