Skip to content

Android-based (Huawei) Bluetooth Chat App involves is a versatile mobile application that enables Huawei users to exchange text messages or other data using Bluetooth connectivity . This type of app allows Huawei users to communicate directly without an internet connection, making it useful in areas with limited or no internet access

Notifications You must be signed in to change notification settings

fahadyaseen001/Near-By-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

1_MSll78U-Rksm5ojGw7RKRg

Andriod-Huawei-Bluetooth-Based-Chat-App

This chat application uses React Native HMS Nearby Service Plugin.

Note

You need 2 HMSCore APK installed phones to test this app. This application is tested on Huawei Y9 Prime and Huawei Y6.

How to Run❓

Clone the code or download the zip file and then install the dependencies using command below.

npm i 

Put your agconnect-services.json and keystore_file.jks under android > app directory.

Then fill the android > app > build.gradle file as given below.

 defaultConfig {
       applicationId "<package_name>"  // your package name in agconnect-services.json
        ...
         }
signingConfigs {
   config {
    storeFile file('<keystore_file>.jks') // your keystore filename
    storePassword '<keystore_password>'   // keystore password
    keyAlias '<key_alias>'                // key alias
    keyPassword '<key_password>'          // key password
    ...
    }
   ...
   }

Getting Started

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Step 1: Start the Metro Server

First, you will need to start Metro, the JavaScript bundler that ships with React Native.

To start Metro, run the following command from the root of your React Native project:

# using npm
npm start

# OR using Yarn
yarn start

Step 2: Start your Application

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:

For Android

# using npm
npm run android

# OR using Yarn
yarn android

For iOS

# using npm
npm run ios

# OR using Yarn
yarn ios

If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.

Now what?

Troubleshooting

If you can't get this to work, see the Troubleshooting page.

Learn More

To learn more about React Native, take a look at the following resources:

Screenshots

Phone 1 Broadcaster Phone 2 Scanner
InitialScreen InitialScreen (1)
ScanningBroadcasting ScanningBroadcasting (1)
BroadcastAuth ScanResult
ScanAuth
ChatBroadcast ChatScan

About

Android-based (Huawei) Bluetooth Chat App involves is a versatile mobile application that enables Huawei users to exchange text messages or other data using Bluetooth connectivity . This type of app allows Huawei users to communicate directly without an internet connection, making it useful in areas with limited or no internet access

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published