RNWeChat
- An imitation WeChat client developed using ReactNative, supporting Android and iOS . You are welcome to give a star or fork, thank you~~
- If you have any questions during the project construction process, you are welcome to raise an issue and I will definitely help answer them when I have time~~
- I have created a new QQ group. If you have any questions related to this project or want to exchange ReactNative related technologies, you can join: 419213248
- iOS friends can refer to this document if they have problems running the project.
Android scanning code download experience
Run method
- Clone code:
git clone [email protected]:yubo725/rn-wechat.git
- Enter the project root directory and install dependencies:
- Run the project on the simulator or real machine:
// Android
react-native run-android
// iOS
react-native run-ios
Notice
There are currently restrictions on the interface. Frequent requests may cause the IP to be temporarily blocked. Moreover, the daily request traffic of each IP is also limited, so do not request the interface frequently.
If you encounter an error message when packaging the Android package in a Linux or Mac environment:
Make sure you have an Android emulator running or a device connected and have set up your Android development environment
Please ensure that the gradlew file in the project's android directory has executable permissions. If it does not have executable permissions, change it to executable.
- Please use your own signature file and signature configuration when packaging the Android release package. For details, please refer to the document: Packaging APK
Implemented functionality
Function not implemented
Update record
- 2019-05-14 Server migration, the domain name is changed to rnwechat.yubo.me, the original code is moved to the deprecated branch, the dev development branch is currently used, and the IM uses Aurora IM
- 2018-12-22 Update project, RN is the latest version 0.57.8, react-navigation library is the latest version 3.x
- 2018-03-09 Delete the react-native-camera library and ac-qrcode library, and the scan function is unavailable (due to the official react-native-camera library being updated, my iOS project kept reporting errors that could not be solved, so I temporarily Remove the scan function and restore it after solving the problem later)
- 2018-01-19 Join Turing Chatbot
- 2018-01-10 The interface has upload restrictions and prohibits the upload of non-image type files.
- 2018-01-09 Server migration, domain name changed to app.yubo725.top
- 2017-10-11 Fixed some bugs on the client and server. Due to the server code rollback and overwriting, the client's function of modifying the avatar and nickname is unavailable. It has been restored.
- 2017-10-09 UI adapted to iOS.
- 2017-09-30 The code is adapted to iOS (there are still some minor problems), iOS screenshots are added, and some previous bugs are fixed.
- 2017-09-29 Delete NetEase YunXin IM and switch to HuanXin IM (NetEase is a huge pitfall, the free version cannot send and receive messages to more than 100 people, and it is not noted in the document, Fake!!!).
- 2017-09-15 The message time is displayed on the chat interface.
- 2017-09-13 Added single chat function, currently only supports text messages, and added the function of modifying nicknames.
- 2017-09-06 Added the Shake page, added the APP update dialog box (this update is not a hot update, but an update that downloads the apk to cover the installation, and then adds the hot update function after the development of all functions is completed), and fixed some bug.
- 2017-09-05 Completed the like and comment functions in Moments. For the sake of simple logic, we only made comments for the original poster and did not make comments for the responder.
- 2017-08-29 Completed the function of posting to Moments.
- 2017-08-24 Added the personal information page and the function of modifying the avatar.
- 2017-08-18 Modified the registration and login functions and added NetEase Cloud Trust SDK.
- 2017-08-15 Added registration, login and logout functions, you can register new users, the IM function uses NetEase Yunxin SDK.
- 2017-08-11 Add the scan function, add the login registration page, the login and registration functions will be implemented later, and add the shopping page and card package page.
- 2017-06-08 Modify the contact data obtained from the server, including contact name, avatar, etc., and other data are temporarily test data.
screenshot
iOS screenshot (iPhone8)
Android screenshot