To do a Agora.io voice call do you have to be in the app you are calling from? - agora.io

I want to use Agora.io in my application, but i want to know does the user have to be logged in to the application in order to receive the call or does Agora.io call the phone and not through the app?

Agora's engine does not implement direct calling functionality. Agora supports two or more users joining a "channel" but both have to be using the app), but Agora does not support push notifications in their SDK.
You will need to use a service for push notifications (when user isn't in-app), CallKit (iOS) or ConnectionService (Android) for the phone-call UI.
[Update]
Agora has a demo showing how to use Agora's Real-Time Messaging along with the native ConnectionService/CallKit to implement a "call" feature using Agora.
Android: https://github.com/AgoraIO-Usecase/Video-Calling/tree/master/OpenDuo-Android
IOS: https://github.com/AgoraIO-Usecase/Video-Calling/tree/master/OpenDuo-iOS

Related

How can I make a react native application with push notifications and an API

I am building a new application in React Native and I built an API for the back-end.
I want to build in a push notification in the app when there is a new entry delivered by the API. I saw a framework that background fetches an API route and then shows a push notification but this only applies ones every 15 minutes. Other push notifications tutorials I see only work with a firebase database and I need it to work with my API.
Is somebody known with combining rest api's with push notifications in react native, that can help me?
Greetings,
Laurens
step 1:- first you need to add react-native-firebase, messaging in your react-native project for receiving push notification.
link to add react-native-firebase
step 2 :- check your application setup using firebase console's
Cloud Messaging service.
https://console.firebase.google.com/project/fir-demo-f375c/notification
if your application setup is perfect you will get push notification in device from firebase console's Cloud Messaging service.
step 3:- need to add server side code to fire push notification from server,
when your api hites to using server language like PHP.
for more detail in step 3 follow
https://firebase.google.com/docs/cloud-messaging/server#implementing-http-connection-server-protocol

Is there any way to use Twilio SDK without CallKit?

With the latest iOS PushKit Push Notification Policy, it is impossible to use PushKit without CallKit.
But Twilio iOS SDK is still using PushKit.
Is there any way to use the Twilio SDK without the default iOS CallKit screen?
Because I need to implement the custom call incoming screen.
I hope your help.
Kind Regards

Does Agora.io react native api support ringtone for video calls

I would like to initiate a call with the react-native api and play a ringtone on the receiving phone. Is this supported on the api?
From Samyak Jain's answer
You can check out this library: https://github.com/react-native-webrtc/react-native-callkeep
It uses callkit on the ios side and connection service on the android side.
We also have some sample apps for IOS and Android that use CallKit and ConnectionService respectively and use Agora RTM. You can find them here: https://github.com/AgoraIO/Advanced-Video/tree/dev/backup/Calling-Interface

How can iOS application interact with an Ethereum wallet

I have a dapp for web application. Users have metamask installed in the Chrome browser. They make transactions using metamask. Now I want the same application to be developed in iOS using react-native. How to develop this? For browser when users want to make any transaction simply metamask pop ups and asks for confirmation.
How about in mobile devices? How they are going to install metmask in the devices and make transactions in mobile device. Is is possible to achieve this? How can I develop this app?
Your iOS app can communicate with iOS wallets using WalletConnect mobile linking. This fulfils a similar functionality as MetaMask pop-up on desktop environments.
Yes, you don't need metamask for your application. (And I am yet to see someone use it in an app built in React Native.)
Metamask is essentially a wallet which 'injects' into various services on the web. But it is nothing more than a wallet that manages your identit(y/ies).
The features you'd need in your React app would need:
Managing identities (private and public keys.)
Ability to sign transactions.
Then you might want to use extra features such as:
Importing keys
Updating balances
Recording transasctions, etc.
If you're using web3.js, then you need to start here: web3.eth.accounts and look into wallets on the same page.
For React Native, you can use the Moralis SDK https://moralis.io/
If you're developing a native app with Swift, you can use the v1 WalletConnect SDK https://github.com/WalletConnect/WalletConnectSwift.
Also, I'm working on a package (on top of WC) that already has all the configuration for it: https://github.com/maurovz/Glaip

Quickblox, Video chat for PC/Mac, options other than WebRTC

Are there options to make a video chat app for PC/mac using quickblox but not WebRTC?
The business case is to provide video chat facility from iPhone/iPad with a user on pc/Mac.
We do not want to use WebRTC..
So i went ahead and did a POC to test the capabilities of quickblox, well bluntly put, it does not support native ios app to call a web based app.
However i then explored OpenTok which actually works cross platform, atleast from iOS to web.
My problem solved.