How to Set Up the Ecency Mobile Application

Dec 29, 2021 | Blockchain

Welcome to the guide on setting up the Ecency Mobile application on both iOS and Android platforms! In this article, we will walk you through the installation and setup process step-by-step. Let’s dive into the world of mobile development!

I. Getting Started

To kick-start your Ecency mobile application project, follow these simple steps:

  • Clone the repository:
  • $ git clone https://github.com/ecency/ecency-mobile.git
  • Navigate to the project directory:
  • $ cd ecency-mobile
  • Install dependencies:
  • $ yarn
  • Start the React Native server:
  • $ react-native start

II. Setting up Reactotron

Reactotron is an essential tool for logging. To set it up:

  • Install Reactotron: download here.
  • Run the Reactotron desktop application after installation.
  • Link your application:
    • For Android, run:
    • adb reverse tcp:9090 tcp:9090
    • For iOS, it should connect automatically.
  • Usage:
    • Use the Timeline tab for tracking logs and network calls.
    • Use the State tab to monitor Redux state changes – for specific stores, initialize using their names, e.g., “account”.

III. Starting the App

Now that everything is set up, let’s run the application on different platforms.

For iOS:

react-native run-ios

This command will also run the react-native start command if you haven’t done it already.

For Android:

Follow these steps:

  1. Create a new app in your Firebase console.
  2. Add an Android platform using the package name app.esteem.mobile.android.
  3. Download the generated google-services.json file and place it in project-root/android/app.
  4. Connect your device or start the Android emulator.
  5. Run:
  6. npm run android

IV. Troubleshooting Tips

Here are some common troubleshooting ideas to make your setup smoother:

  • If you face issues with Reactotron not connecting, ensure that both the application and Reactotron are running on the same network.
  • For Firebase issues, double-check the google-services.json file’s placement and ensure that it corresponds to the correct package name.
  • If you experience build errors, ensure that your environment is set up correctly with the necessary dependencies installed.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

V. Additional Guidelines for Contribution

When contributing to the project, follow these rules for a smooth collaboration:

  • Check for an existing ISSUES ticket related to your feature before starting.
  • If you’re working on something already in progress, communicate with the team to avoid duplication.
  • Make your work visible by creating a Pull Request, even if it’s a work in progress (WIP).
  • For reviewing your patches, assign to team members who can provide feedback.

VI. Handling Issues

Should you encounter any non-critical issues, please file a report on this GitHub project. For any security-related concerns, contact: security@ecency.com.

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Conclusion

Now you’re all set to start working with the Ecency Mobile application! Embrace the journey of building and enhancing this innovative platform.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox