FluxStore - Universal Mobile Commerce Flutter App For Magento, WooCommerce and Opencart
FluxStore - Universal Mobile Commerce Flutter App For Magento, WooCommerce and Opencart
Docs
FluxStore
FluxStore -- Universal
Universal mobile
mobile commerce
commerce Flutter
Flutter app
app for
for Magento,
Magento, WooCommerce
WooCommerce and
and Opencart
Opencart
Common Issues
This is the common questions we collect from our Ticket Support, please search the solution if you
have the same issue.
Solution: Please follow this solution. If still not work, please creating another Flutter project with
same project and Bundl name, then copy the Flutter folder from the new project to your current
one.
- I can not find out the `Get dependencies` or `Packages get` on the pubspec.yaml tab.
- Error: Method not found: 'EdgeInsets.symmetric'.
Solution: Select **Android Studio > Preferences ** and add the Flutter SDK path. (The Flutter
SDK path is the location that you install Flutter environment).
https://docs.inspireui.com/fluxstore/common-issues/ 1/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
You can also install the library by run flutter pub get
Solution: Go to your flutter folder /flutter/bin/cache/ and delete the lockfile file.
export LANG=en_US.UTF-8
Solution: Please try to edit your profile file on mac: vim ~/.profile
https://docs.inspireui.com/fluxstore/common-issues/ 2/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Solution:
The meta_data is the array List so you need to use the loop syntax -
https://dart.dev/guides/language/language-tour#lists
Issue: i could not create new product from Fluxstore Multi Vendor app.
Docs
Solution: Double check the .htaccess file and make sure the content should be
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
define('JWT_AUTH_SECRET_KEY', 'your-top-secrect-key');
Solution: Please active the License from mstore-api plugin to fix this issue by refer to "Step 2: Install
the required plugins"
https://docs.inspireui.com/fluxstore/common-issues/ 4/19
💊 Login with firebase
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
Solution: Create databases rules in firebase. This is the rule I applied in Firebase console
under Database:
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth.uid != null;
}
}
}
Solution: Please go to the Google Play store and copy the SHA-1 key and past to your
Firebase setting:
https://docs.inspireui.com/fluxstore/common-issues/ 5/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
https://docs.inspireui.com/fluxstore/common-issues/ 6/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
Solution: pls go to your google play and copy the SHA key - https://tppr.me/Rj6uc Then paste
to the Firebase to fix this issue - https://tppr.me/xDTz6
To get the Sha key, you can follow this guide https://www.youtube.com/watch?v=C_9mk_MmvOQ
Solution:
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
https://docs.inspireui.com/fluxstore/common-issues/ 7/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
await loadAppConfig();
notifyListeners();
Docs
await Provider.of<CategoryModel>(context, listen: false)
.getCategories(lang: country);
return true;
} catch (err) {
return false;
}
}
https://docs.inspireui.com/fluxstore/common-issues/ 8/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
https://docs.inspireui.com/fluxstore/common-issues/ 9/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
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 2: In the bottom right corner, choose change format (as shown in the following
picture, the current format is doing Plain Text)
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.
https://docs.inspireui.com/fluxstore/common-issues/ 10/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
Step 5: Fix the error and run again (You can change/add/remove languages in these files.
Remember you have to modify all these files)
lib/l10n
lib/config
Solution: You can change/add/remove languages in these files. Remember you have to modify
all these files:
lib/l10n
lib/config
https://docs.inspireui.com/fluxstore/common-issues/ 11/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
Solution: please make sure to update the flutter to latest stable version and also clean up the
cache, by using this guide
Xcode's output:
↳
/Users/Ammar/Downloads/FluxStore-vendor-1.2.0b/source/ios/Pods/Protobuf/objectivec/googl
#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/googl
#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". Or use some solution note on this Gist
https://docs.inspireui.com/fluxstore/common-issues/ 12/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Solution 1: pasted this code in build.gradle from app folder between defaultConfig braces:
Docs
// One Signal:
manifestPlaceholders = [onesignal_app_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
onesignal_google_project_number: "REMOTE"]
Solution 2: You can add the code below into your library build.gradle
buildTypes {
release {
minifyEnabled false
debuggable true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro
signingConfig signingConfigs.awter
manifestPlaceholders = [onesignal_app_id: "xxxxxxx",
// Project number pulled from dashboard, local value is ignored.
onesignal_google_project_number: "REMOTE"]
}
debug {
manifestPlaceholders = [onesignal_app_id: "xxxxx",
// Project number pulled from dashboard, local value is ignored.
onesignal_google_project_number: "REMOTE"]
}
}
Solution 3: same as the Solution 2, but this line has to comment out:
//signingConfig signingConfigs.awter
https://docs.inspireui.com/fluxstore/common-issues/ 13/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
Solution:
Step 3: In Android Studio, select File > Open > source folder in the new location > This
Window.
You also can reupload the image, after I installed the Image PlugIn
And kindly checking if you are using old version of config_en.json file. Please replace the latest
one and let's see if it helps. Also fill in your consumerKey and consumerSecret in your
config.dart file. You can refer to this doc get Consumer Key to get those.
https://docs.inspireui.com/fluxstore/common-issues/ 14/19
💊 The app shows no product
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
Issue: I have connected fluxstore to my woocommerce website but and changed the categories
ID in the json file to match my categories but the app shows no product (Please note there is
only one vendor for the moment).
Solution:
the server url needed to use https instead of http. Also make sure the JWT Authentication for
WP REST API is correctly installed as per instructions found here:
https://wordpress.org/PLUGINS/JWT-AUTHENTICATION-FOR-WP-REST-API/
Using the Fluxbuilder to check the issues, it could download from https://fluxbuilder.com
https://docs.inspireui.com/fluxstore/common-issues/ 15/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
https://docs.inspireui.com/fluxstore/common-issues/ 16/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
If those colors are not specified then it'll display white instead.
Solution:
1. Refer https://docs.inspireui.com/fluxstore/customization/#2-logo-splash-screen
2. Create new animation need provide the name “fluxstore” or need change it from
app.dart
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.
https://docs.inspireui.com/fluxstore/common-issues/ 17/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
Docs
Solution:
You need to add state config in Fluxstore source code. It includes code and name. You're sure
the code field must be same in your website
Questions Questions
Common Questions Changelogs
https://docs.inspireui.com/fluxstore/common-issues/ 18/19
10/02/2021 FluxStore - Universal mobile commerce Flutter app for Magento, WooCommerce and Opencart
docs.inspireui.com
Docs
https://docs.inspireui.com/fluxstore/common-issues/ 19/19