Skip to content
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

Custom sound #1

Open
cookienawer opened this issue Oct 8, 2019 · 5 comments
Open

Custom sound #1

cookienawer opened this issue Oct 8, 2019 · 5 comments

Comments

@cookienawer
Copy link

Hi!

I have implemented this library because in android the soundName does not take me in a localNotificationShedule

The problem is that now in ios that worked correctly before now I get the error Native module cannot be null

Any solution?

Without this library it works well for me, but not for android and vice versa.

@MaximusBaton
Copy link
Owner

Hello there!
First of all, I'd suggest you to try the original library (https://github.com/zo0r/react-native-push-notification). It now has 122 commits ahead and the issue (why I forked it) might have been resolved.

If this issue still remains, but iOS works fine, then, my suggestion would be to get my fork and copy iOS part from original one.

@cookienawer
Copy link
Author

What is IOS part? I only see in component in index.ios.js

And wouldn't it be the other way around using the main one and putting your android part inside?

@MaximusBaton
Copy link
Owner

iOS part - I mean....oh. you're right! I forgot it does not have any ios project here)

wouldn't it be the other way around
for sure!

@cookienawer
Copy link
Author

Now I have seen that your code has another problem. You do not receive notifications in foreground.

Could you fix it please? You would do me a great favor ...
Do you want me to create another issue?

Really many graces

@cookienawer
Copy link
Author

cookienawer commented Oct 20, 2019

I found this
zo0r#1042

I don't know if it can help you

I test this fornk and still not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants