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

Cant make it work #9

Open
omfg74 opened this issue Aug 6, 2020 · 4 comments
Open

Cant make it work #9

omfg74 opened this issue Aug 6, 2020 · 4 comments

Comments

@omfg74
Copy link

omfg74 commented Aug 6, 2020

it just ignores any kind of builder

@omfg74
Copy link
Author

omfg74 commented Aug 6, 2020

Im using this combination

NotifyMe.Builder(applicationContext)
.key(notification.id)
.time(now)
.color(255, 0, 0, 255)
.led_color(255, 255, 255, 255)
.title("title")
.small_icon(R.drawable.ic_stop)
.rrule("FREQ=DAILY;INTERVAL=1;COUNT=10")
.addAction(Intent(), "TEXT")
.build()

@omfg74
Copy link
Author

omfg74 commented Aug 6, 2020

Is it possible to debug

@jakebonk
Copy link
Owner

jakebonk commented Aug 7, 2020

Try adding

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

and this

    <receiver android:name="com.allyants.notifyme.NotificationPublisher" />
    <receiver android:name="com.allyants.notifyme.BootNotifyMe">
        <intent-filter>
            <action android:name="android.intent.action.BOOT_COMPLETED" />

            <category android:name="android.intent.category.HOME" />
        </intent-filter>
    </receiver>

to your android manifest

@omfg74
Copy link
Author

omfg74 commented Aug 19, 2020

Thank you for your response.
It worked for me.
Also can you, tell how can i schdule it daily. If i use rrule("FREQ=DAILY;INTERVAL=1") it just work once and then does not. I did rewrite schaduler in library, but it seem not to bee a good desision

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