Comments (23)
This issue is related to the react native package, can you test using the latest commit in the react-native repository
?
npm install --save git://github.com/voxeet/voxeet-uxkit-reactnative.git#5fc6ac4f0a642eaf5af7557d4b7fdb60965c43ba
from voxeet-uxkit-reactnative-firebase.
can you provide logs from add logcat
as well?
from voxeet-uxkit-reactnative-firebase.
@codlab With this repo i am facing issues while initializing
from voxeet-uxkit-reactnative-firebase.
The new commit fixes this crash when running the app npm install --save git://github.com/voxeet/voxeet-uxkit-reactnative.git#9ed0cf424ce065121dc7c304dbc1de29004235ca
from voxeet-uxkit-reactnative-firebase.
@codlab With this if I am starting the conference then also the UI doesn't shows up though i receive the call at other end and when i answered i can hear the voice . Also I am not receiving push notifications with this.
I am attaching the logs while starting the conference
logs.txt
from voxeet-uxkit-reactnative-firebase.
Seems like that was something wrong from my side as i sent the third parameter as true while initializing. Now, I have removed the third parameter and when i answer the call from killed state still the call UI is not shown.
Logs for that are
logs.txt
from voxeet-uxkit-reactnative-firebase.
I have noticed that, if I am receiving call from other device without making the call from my side even once since the app is opened then the UI is not shown either the app was in foreground or background or killed .
If i start the conference the call UI is shown now i don't close the app and if someone else calls me and i answer then the UI is shown.
from voxeet-uxkit-reactnative-firebase.
ok so you mean that with this version, you don't have any regression but the UI is not shown when accepting calls from killed state. I'll check this today using the latest version
In the meantime, could you forward me logs from your device since the above one was using the initialize(..., true) which was hiding the overlay completely (regardless of the type of answer)
from voxeet-uxkit-reactnative-firebase.
Seems like that was something wrong from my side as i sent the third parameter as true while initializing. Now, I have removed the third parameter and when i answer the call from killed state still the call UI is not shown.
Logs for that are
logs.txt
Yes @codlab , the log file in this comment is without the 3rd parameter in initialize method.
from voxeet-uxkit-reactnative-firebase.
the latest develop branch fixes the issue
from voxeet-uxkit-reactnative-firebase.
@codlab I can see there is only one branch for this repo i.e. master
from voxeet-uxkit-reactnative-firebase.
@codlab I see you are talking about the develop branch of another repository https://github.com/voxeet/voxeet-uxkit-reactnative/tree/develop . So my question is the changes that you suggested we used in AndroidManifest file with this repository for the push notifications issue , will those work with the other repository also ?
from voxeet-uxkit-reactnative-firebase.
the @voxeet/react-native-voxeet-firebase
is only here to provide Firebase support to send voxeet's push notification to the SDK. It does not manage how the push notification are displayed or handled that's why for anything related to how it reacts, it depends on the https://github.com/voxeet/voxeet-uxkit-reactnative repository 👍
The modification suggested in this repository are only here to make it possible to forward "non voxeet" push notification to other (declared) voxeet's push notification MessagingService receivers
... because Firebase teams found it ok to make only the first registered MessagingService registered to be able to handle FCM
from voxeet-uxkit-reactnative-firebase.
@codlab Can you mention the steps to install from the develop branch ?
I tried with yarn add @voxeet/react-native-voxeet-conferencekit#develop but i am getting the error while building
Also i installed with version 0.2.11-beta13 but with this i am getting the same error as we got before initialize got 5 arguments, expected 4 .
from voxeet-uxkit-reactnative-firebase.
@codlab Is there anything i can do to resolve this ? I have this package version installed "@voxeet/react-native-voxeet-firebase": "^2.0.0"
from voxeet-uxkit-reactnative-firebase.
If you installed the repo using the github's develop branch, you will need to reinstall it after you installed a package the regular way (yarn and npm reset the state of git:// project)
can you test again with the npm/yarn install of the react-native-voxeet-conferencekit's repository?
Regarding the dependency issue, it's due to binary sunsetting the hosting service. We are preparing the hosting of the uxkit packages somewhere else but in the meantime, you can use the following android/build.gradle
modification:
allprojects {
repositories {
maven { url "https://dl.bintray.com/voxeet/maven/" }
...
}
}
from voxeet-uxkit-reactnative-firebase.
@codlab I followed the follow commands
yarn add @voxeet/react-native-voxeet-conferencekit#develop
yarn add @voxeet/react-native-voxeet-firebase
Added maven { url "https://dl.bintray.com/voxeet/maven/" } in build.gradle
Then i got the error of multiple classes used as i was using the following meta tags in AndroidManifest.xml
<meta-data
android:name="voxeet_incoming_class"
android:value="com.voxeet.notification.RNIncomingCallActivity" />
<meta-data
android:name="voxeet_incoming_accepted_class"
android:value="com.app.trueflutterdating.MainActivity" />
I think you guys might have included this in the package
Now i am facing this error
from voxeet-uxkit-reactnative-firebase.
You can follow the new readme, the package has been changed
https://github.com/voxeet/voxeet-uxkit-reactnative/tree/develop#android
There's a change I need to propagate due to a typo in the package name for the deprecated ones.
Note that you should remove the meta data since they are being handled automatically in the AndroidManifest.xml (the only one interesting is the voxeet_incoming_accepted_class
but in some cases, it will be handled automatically)
from voxeet-uxkit-reactnative-firebase.
You can find the mentioned fix in the latest develop commit
from voxeet-uxkit-reactnative-firebase.
@codlab Yes it worked after that but still the UI is not coming up on android with the develop branch.
from voxeet-uxkit-reactnative-firebase.
Here is the log file when i receive and answer the call, I am not receiving push notifications when the app is killed
logsvoxeet.txt
from voxeet-uxkit-reactnative-firebase.
Issue fixed which was in the react-native-voxeet-conferencekit repository, please update with the latest develop commit + make sure the MainActivity's launchMode is set to singleTask
it should be working as expected 👍
from voxeet-uxkit-reactnative-firebase.
Yes @codlab the MainActivity's launchMode is set to singleTask but there is a crash while answering from killed state, i have reported this in the another thread comments here
#6 (comment)
from voxeet-uxkit-reactnative-firebase.
Related Issues (8)
- Could not find com.voxeet.sdk:uxkit-firebase:3.1.1 HOT 1
- Android: Getting compile time error HOT 3
- Push notifications not receiving in background HOT 20
- Getstream chat push notification not working HOT 18
- Crash in debug mode and random in release mode apk HOT 1
- iOS build failing with develop branch HOT 1
- Android application is crashed when receive notification. HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voxeet-uxkit-reactnative-firebase.