Below is common questions regarding to the Fluxstore product and solutions to resolve the issues. Please try to download the latest version, some issues have solved with it.

1. Common question

πŸ’¬ How to get Customer key, Consumer secret?

Please refer https://docs.inspireui.com/fluxstore/woocommerce-setup/#generate-api-keys

πŸ’¬ How to change the app icon?

Refer 1.3 item in https://docs.inspireui.com/fluxstore/delivery/#1-update-nameicon-bundle-id

To run flutter pub - you need to install flutter from terminal - pls check https://flutter.dev/docs/get-started/install/macos

πŸ’¬ How to change the package name (bundle id)?

Refer 1.2 item in https://docs.inspireui.com/fluxstore/delivery/#1-update-nameicon-bundle-id

πŸ’¬ My app does not show product?

Please be sure you have installed all required plugins.

2. FluxStore Listing

πŸ’¬ [FluxStore Listing] How to show up my images on the app?


πŸ’¬ [FluxStore Listing] How can I set German as default language?

  • Issue: I have added a translation for German. How can I set German as default language?
  • Solution: please update the DefaultLanguage from common/config.dart

3. FluxStore Multi Vendor

πŸ’¬ [FluxStore MV] How to open App after uploading now.sh web?

  • Issue: I can not open the App after uploading the config_en.json to https://now.sh website.

  • Solution: Please try to use https://surge.sh/ instead of now.sh (the latest version now.sh has some issues and they changed the config)

    Try to run this script:

    npm install --global surge
    surge

    The result will be similar to http://warm-metal.surge.sh/config.json


πŸ’¬ [FluxStore MV] How to login with SMS Login in Play Store?

  • Issue: After creating APK from Fluxstore MV and releasing the app in Google Play Store (Basic for Android), I try to login with SMS Login, it shows error. When i try in Emulator device, SMS Login is working well.
  • Solution: Please go to the Google Play store and copy the SHA-1 key and past to your Firebase setting:

FDK path

FDK path


πŸ’¬ [FluxStore MV] How to build 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 MV] How to 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


4. FluxStore Pro, FluxStore Woocommerce

πŸ’¬ [FluxStore - 1.6.3] Splash image with .png doesn't appear with full screen

  • Issue: I used splash image with .png in previous version. But in the v1.6.3, splash image with .png doesn't appear with full screen.
  • Solution: app.dart.zip replace this app.dart then try again

πŸ’¬ [FluxStore] How to translate "Pull up Load more" or "Loading" into a different language?

  • Issue: I want to translate "Pull up Load more" or "Loading" into a different language. How can I do it?
FDK path
  • Solution: You can add this code on file product_list.dart, on return SmartRefrehser

FDK path


πŸ’¬ [FluxStore] I got error when login app

  • Issue: When i add my own splash flr, splash is stuck.
FDK path

To get the Sha key, you can follow this guide https://www.youtube.com/watch?v=C9mkMmvOQ


πŸ’¬ [FluxStore] I got issue when adding turkish language?

  • Issue: I follow to guide and create file to lib/l10n folder for turkish language with named intltr. i have latest flutter intl plugin. but when i add language file, it isnt generate messagestr.dart or another thing.
FDK path
  • Solution: This error is caused by the same keyword or an arb file format error. To check the arb file for accuracy, please follow these steps:

Step 1: Open the .arb file to check with Visual Code Step 2: In the bottom right corner, choose change format (as shown in the following picture, the current format is doing Plain Text) Step 3: Find and select JSON format

FDK path

Step 4: check the file. You can find bugs quickly by looking at the preview feature (to the right of the visual code), with a yellow dash indicating duplicate data, a red dash indicating an error.

FDK path

Step 5: Fix the error and run again


πŸ’¬ [FluxStore] Colors do not appear on products

  • Issue: color not appear for products - all colors appear white.

FDK path
  • Solution: The product that you showed has 3 colors:

FDK path

But in the constants.dart file you haven't added those colors.

FDK path

If those colors are not specified then it'll display white instead.


πŸ’¬ [FluxStore - 1.6.4] How to assign the metadata value from key "usercardnumber"?

  • Issue: How to assign the metadata value from key "usercardnumber"?

FDK path


πŸ’¬ [FluxStore - 1.6.3] How to change splash screen flare?


πŸ’¬ [FluxStore - 1.6.3] How to able to run app on iOS simulator?

  • Issue: We are not able to run this app version 1.6.3 on iOS simulator (Xcode). We are getting below errors while trying to run on Mac:
Xcode's output:
CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:

export LANG=en_US.UTF-8
  • Solution: Please try to edit your profile file on mac:

    vim ~/.profile

    or if you are using zsh:

    vim ~/.zshrc

    and add this line:

    export LANG=en_US.UTF-8

πŸ’¬ [FluxStore] How to change home style and main colour?

  • Issue: i'm failed in changing main color and changing the home design with my new one.

  • Solution: In the project **/lib/config folder, we will find these below files: configar.json configen.json config_ja.json ........

    The configuration of all .json files has the same structure with the rest of the files that follow with configar.json, configes.json, etc.

These files correspond to the language. So if we only configure config_en.json and then select another language, it will look for the language in the rest of the files. So we must copy the configuration in the rest so that we can see the changes reflected.


πŸ’¬ [FluxStore] How to bypass 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 show Home screen 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 Pro - Opencart] How to build Opencart app successfully?

  • 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.

πŸ’¬ [FluxStore 1.6.1] How to bypass the warning when building the apk?

  • Issue: Got warning when trying to build the apk
Running Gradle task 'assembleRelease'... * Try:
Running Gradle task 'assembleRelease'... Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... * Get more help at https://help.gradle.org
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... BUILD FAILED in 56m 32s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 3400.4s (!)
Gradle task assembleRelease failed with exit code 1
  • Solution: Please try to replace pubspec.yaml pubspec.yaml.zip Then add googleServices { disableVersionCheck = true } at the bottom of android/app/build.gradle

πŸ’¬ [FluxStore] 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


πŸ’¬ [FluxStore] How to solve the lock 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.

πŸ’¬ [FluxStore] How to solve "Flutter is exited unexpectedly" 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.

πŸ’¬ [FluxStore] 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


πŸ’¬ [FluxStore] 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.


πŸ’¬ [FluxStore] 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 https://flutter.dev


πŸ’¬ [FluxStore] 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.


πŸ’¬ [FluxStore] Throw exception when login 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.

πŸ’¬ [FluxStore] 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: