XFunding Documentation

XFunding - Crowdfunding | Donation | Fund Raising Full Functional App

Created : 14-09-2022

By : AppDevs

XFunding fundraising tools make it easy for you to create, share, and raise money for your campaign. It helps you easily share your story far and wide over email, text, and social media to rally support for your cause. So you want to develop an apps, website with admin panel and want to use crowdfunding as your funding method? It is a full functional comeplete system for Crowdfunding | Collect Donations | Fund Raising. It is the practice of funding a project or venture by raising money from a large number of people, in modern times typically via the Internet. It is a form of crowdsourcing and alternative finance. It’s made a lot easier for all mango people. Anyone can deployment by following our project documentations.

If you have any questions, feel free to contact us at support@appdevs.net.


Requirements

To customised this project you should have Flutter and Dart installed and configured effectively on your gadget Install Flutter Set up your editor Install the Flutter and Dart Plugins.

  • Unzip the flies folder and open it. There have source code name as xfunding-source-code, then use your preferred IDE (Android Studio / Visual Code / IntelliJ) to open the project.
  • Go to /assets/images/icon.png and replace it with your logo or app icon Note: This logo used in the splash screen only, not in the app icon

Admin Panel Setup

install-on-server:

After download the code from codecayon upload the Admin new install zip file in your server following your expected directory and extract the zip file. StackFood admin panel can be installed on a domain or subdomain: For Example, yourdomain.com OR xyz.yourdomain.com.

  1. INFO:
  2.             As the admin panel and web app are developed using two different technology, If you want the web app in your main domain then you need to install the admin panel in a subdomain. For example if you want the web app(website) in yourdomain.com then you can install the admin panel in admin.yourdomain.com or in any subdomain. Later in web app part you will know how you need to install the web app on your server.
              
  3. WARNING:
  4.             Don’t install the admin panel or web app in a sub directory (like: yourdomain.com/folder)
              

Admin Panel Installation:

  1. Step 1:
  2. After download the code from codecayon upload the admin install zip in your directory and extract the zip file. StackFood can be installed on your main domain or subdomain: For Example, yourdomain.com OR hello.yourdomain.com It also CAN be installed in the subdirectory path of your domain. For Example, www.yourdomain.com/my-new-website.

    StackFood requires an SSL certificate to be installed on your domain to work with all the services. A FREE SSL certificate can be easily installed on your domain using sslforfree.com

    Create the database properly

    • Create a new database from your server MYSQL database
    • run
    • Create a DB user to the database and link that database to the DB user
    • run

  3. Step 2:
  4. Then, Add DB user to created Database

    run
  5. Step 3:
  6. All the required extensions and permission must be enabled

    run
  7. Step 4:
  8. Go to PhpMyAdmin from cPanel and select your database and import db.sql file here.

    run run
  9. Step 5:
  10. Go to File Manager and select public_html directory, then click Upload button and drop your project files

    run
  11. Step 6:
  12. After finish the uploading, you have to extract this zip file.

    run
  13. Step 7:
  14. And you have to enabled Show Hidden Files

    run
  15. Step 8:
  16. Go to .env file and put all credentials.

    run

    All done, your project is ready to run.


For Android Configuration

API Connection:

  1. Open the flutter source code on Android Studio or VS code and go to api_config.dart file, then your website link
  2. run

Get Dependencies:

  1. Run the command:
  2.             flutter pub get
              

Change Package Name:

  1. If you want to change the package name following the next steps
  2. Open /android/app/build.gradle and change the package name
  3.             
    • defaultConfig {
    • applicationId "" // this is the package name
    • minSdkVersion 16
    • targetSdkVersion 31
    • versionCode flutterVersionCode.toInteger()
    • versionName flutterVersionName
    • testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    • multiDexEnabled true
    • }
  4. Open /android/app/src/main/AndroidManifest.xml , /android/app/src/profil/AndroidManifest.xml, /android/app/src/debug/AndroidManifest.xml and specify your:
  5. Open /android/app/src/main/kotlin/MainActivity.kt and change the package name

IOS Configuration

Opt-in to the preview of the embedded view by adding a boolean property to the app's Info.plist file with the key io.flutter.embedded_views_preview and the value YES.

  1. Click the Get dependencies or Packages get to install the libraries from pubspecs.yaml file.
  2. Open the simulator to run iOS or Android (as the step above)
  3. Then press the run button to start the project (you can still open multi simulator at the same time)

Build & Run:

Run the Application:

  1. In the target selector, select an Android device for running the app. If none are listed as available, select Tools> Android > AVD Manager and create one there. For details, see Managing AVDs. Click the run icon in the toolbar, or invoke the menu item Run > Run. Locate the main Android Studio toolbar:
  2. If you don't use Android Studio or IntelliJ you can use the command line to run your application using the following command:
          flutter run
        
run

Install And Release Android App:

Here is your section structure.

  1. After you make all your changes and customizations save all your project, Open the console, navigate to your project folder and execute the following command to build your app:
  2.           flutter build apk --release
            
  3. If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.

Build and Install App:

  1. To generate an app bundle, run:
  2.           flutter build appbundle --target-platform android-arm,android-arm64,android-x64
            

    Learn more on https://developer.android.com/guide/app-bundle

  3. To split the APKs per ABI, run:
  4.           flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
            

    Learn more on https://developer.android.com/studio/build/configure-apk-splits#confi

  5. If you want to upload your application on Google Play you must sign it before uploading, generate a signing key by running the following command:
  6.           keytool -genkey -v -keystore android/app/key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias key
            
  7. Reference the keystore from the app: Create a file named appdir/android/key.properties that contains a reference to your keystore:
  8.           storePassword=password from previous step 
    keyPassword=password from previous step
    keyAlias=key
    storeFile=location of the key store file, e.g. /Users/user name/key.jks
  9. Go to android/app/build.gradle
  10.           def keystorePropertiesFile = rootProject.file("key.properties")
    def keystoreProperties = new Properties()
    keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
    • signingConfigs {
    • release {
    • keyAlias keystoreProperties['keyAlias']
    • keyPassword keystoreProperties['keyPassword']
    • storeFile file(keystoreProperties['storeFile'])
    • storePassword keystoreProperties['storePassword']
    • }
    • }
    • buildTypes {
    • release {
    • signingConfig signingConfigs.release
    • }
    • }
  11. Learn More: Build and release an Android app

Install And Release iOS App:

Before you can build and release your app on the App Store, you need to set up a place for it using App Store Connect. But first, you need to register a unique bundle ID for your app. This can be done by logging into your Apple Developer account and following these steps:

  1. Login to AppStore Conscole Account Click Here
  2. Open the App IDs page.
  3. Click + to create a new Bundle ID.
  4. Fill out the needed information: App Name, and Explicit App ID.
  5. If your app needs specific services, select them and click Continue.
  6. Review the details and click Register to finish.
  7. Then go to account dashboard Select My Apps.
  8. Click + then select New App.
  9. Fill in your app details and make sure iOS is selected, then click Create.
  10. From the sidebar, select App Information.
  11. In the General Information section, select the Bundle ID that you registered above.
  12. You’ve set everything up from Apple’s side, and next you’ll adjust your Xcode project’s settings to prepare your app for release. Go ahead and fire up Xcode.

  13. Open Runner.xcworkspace that is inside your app’s iOS folder.
  14. From the Xcode project navigator, select the Runner project.
  15. Go to the General tab.
  16. In the Identity section, fill out the information and make sure the Bundle Identifier is the one registered on App Store Connect.
  17. In the Signing section, make sure Automatically manage signing is checked and select your team
  18. Fill out the rest of the information as needed.
  19. Next, you’ll update your app’s icon. This can be done by selecting Assets.xcassets in the Runner folder from Xcode’s project navigator.
  20. At this point, all the settings have been updated for release and there is a placeholder ready on App Store Connect, which means you can build and release.

  21. From the command line, run flutter build ios
  22. Then go back to Xcode and reopen Runner.xcworkspace
  23. Select Product -> Scheme -> Runner
  24. Select Product -> Destination -> Generic iOS Device.
  25. Select Product -> Archive to produce a build archive.
  26. From the Xcode Organizer window, select your iOS app from the sidebar, then select the build archive you just produced.
  27. Click the Validate… button to build.
  28. Once the archive is successfully validated, click Upload to App Store
  29. Back on App Store Connect, check the status of your build from the Activities tab. Once it’s ready to release:

  30. Go to Pricing and Availability and fill out the required information.
  31. From the sidebar, select the status.
  32. Select Prepare for Submission and complete all required fields.
  33. Click Submit for Review
  34. Learn More: Build and release an iOS app
  35. That’s it! Your app will now be uploaded to the App Store. Apple will review your app before releasing and keep you updated on the status of your app.


Support

Once again, thank you so much for purchasing this app. As I said at the beginning, I'd be glad to help you if you have any questions relating to this app. Just let us know, We will assist you. Contact us at support center.

Email Us : support@appdevs.net