Frequently Asked Questions - Demo AppsEstimated reading time: 6 minutes
- Do you have any sample/demo app that I can try out?
- I am not receiving the OTP. What should I do?
- Can I use the source code in my own app?
- Can we use email instead of phone number for login?
- Is it possible to replace phone login with other login methods, for example, email or the user-id?
- How to connect my own console (account) with demo apps?
- I do not see my contacts when I launch mesibo demo app.
- Are there any file size limits on the Demo App
- How to resolve error - "File google-services.json is missing"
- How to resolve iOS linker errors in the demo app?
- iOS - how to resolve unresolved symbol ___darwin_check_fd_set_overflow
- We have modified the demo app source code and it has stopped working, can you help?
- Can I use a different login method than in conferencing demo app?
Do you have any sample/demo app that I can try out?
Yes, we have a fully functional WhatsApp like messaging app built using Mesibo on both Google Play Store and Apple App Store. This helps you to evaluate what mesibo can do for you. Furthermore, we have even released the entire source code for both the apps on GitHub.
I am not receiving the OTP. What should I do?
mesibo demo apps will NOT send OTP. Instead, you will have to generate OTPs from the mesibo console.
Sign up at https://mesibo.com/console and click on the “Demo Apps” link from the left navigation bar and follow the instructions.
Can I use the source code in my own app?
Can we use email instead of phone number for login?
For these demo apps, we have chosen to use a phone number for login. We verify the user by sending an OTP to the user’s phone number, which the user can enter to confirm the phone number.
However, it is not necessary to use the phone number; you can use anything you prefer, for example, email address, user account id, your organization id, etc. You can customize the entire login as you prefer.
Is it possible to replace phone login with other login methods, for example, email or the user-id?
Absolutely. For the demo app, we have used phone-based authentication. It is just an example and we do not recommend or enforce any particular login method. You can replace it with any other authentication mechanism, for example, email, user-id, LDAP, RADIUS, OAuth2, Kerberos, SAML, etc. All you need to do is that you generate a mesibo user token using your secret App Token only after your user passed your authentication.
These are two places where you need to make changes:
- Your own login screens so that your users can enter the required credentials, for example, email, user-id, or the password.
- Private APIs. You can change it to whatever authentication check your App does. For example, checking your own database for a valid user.
How to connect my own console (account) with demo apps?
To use your own account, you need to host demo app APIs on your own server and change the app token. Refer Backend for Open Source Android and iOS Messenger for more details.
I do not see my contacts when I launch mesibo demo app.
The mesibo app screen only shows active conversations. To view contacts, click on the
New Message button on the top right corner. Also ensure that:
- both of you have each other’s phone number in your address book
- both of you have granted contacts permission.
Are there any file size limits on the Demo App
Yes. There is a file size limit, on the files you send. Also files that you send (For example, Images)
How to resolve error - "File google-services.json is missing"
The demo app uses Google map and places SDK for the location services. Refer customization section in the tutorial to learn how to get your own Google API key and google-services.json file.
How to resolve iOS linker errors in the demo app?
If you receive linker errors, it means that your download was incomplete. One of the likely reasons is that you forgot to issue
git lfs install. You need to delete the entire repository and download it again (do not forget
git lfs install, as instructed above). Note that enabling
git lfs install after partial download does not seem to work as expected.
Due to the browser security model, camera and microphone access require the following:
- You MUST use a secure URL (
file://URLs will NOT work.
- You MUST also use a valid certificate with recognized authority, the self-signed certificate will NOT work.
The browser will not grant the camera and microphone permissions unless your app meets the above requirements. If permissions are not granted, calls and conferencing will not work.
These restrictions are by the browsers and NOT by the mesibo. Refer Security section in the Mozilla documentation for more information.
iOS - how to resolve unresolved symbol ___darwin_check_fd_set_overflow
Upgrade Xcode to the latest stable version (recommended) or downgrade the mesibo API to 1.0.29 or earlier.
We have modified the demo app source code and it has stopped working, can you help?
The entire messenger/WhatsApp clone demo source code is provided so that you can understand how mesibo platform can help you write a powerful communication app. We can help you if there is an issue with the source. However, it is not possible for us to look into the modifications or custom source code. It is recommended that you first compile and run the demo app AS IT IS. Make changes only after you are comfortable so that you can easily identify issues caused by the custom code, if any.
If you have any mesibo API specific questions, we will be happy to answer.
Can I use a different login method than in conferencing demo app?
Absolutely. For the demo conferencing app, we have used email-based authentication. It is just an example and we do not recommend or enforce any particular login method. You can customize it to have any other authentication mechanism. You could also modify the source code for the Conferencing Admin API.