-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointer exception on beginChat #2
Comments
Have you added: in your android manifest? |
@Mastersam07 Yes, The activity is in the manifest. |
When I open the app in Intelli J, The manifest doesn't recognize ChatWindow activity for some reason. Do I need to install LiveChat in android Gradle? |
Can I have a minimum reproducible project? |
Where exactly in your manifest are you adding this?
|
@omaroskars can you check the manifest in the example and confirm with what you have? |
The thing is it works on a minimum reproducible project, but when i add it to my enterprise app it seems the activity doesn't get initalized for some reason. This has probably something to do with my project but i was hoping you could help me figure it out.
|
What plugin version are you using? |
Can I also get a reproducible project? |
I just tried replicating with livechat version |
I think your plugin works as expected. The problem is probably with cached dependencies in my project, because I implemented the live chat plugin natively to begin with. I changed my native code to run "intent" like in this plugin does and everything works as expected. Thanks a lot for your help |
Followed the installation for Android. When i try to start the chat I get a nullpointer exception.
<activity android:name="com.livechatinc.inappchat.ChatWindowActivity" android:configChanges="orientation|screenSize" />
Is in the manifestThe text was updated successfully, but these errors were encountered: