1
4
Fork
You've already forked android-example
2

Nothing appears after register button click #3

Open
opened 2025年04月06日 12:08:09 +02:00 by emheyarssi · 6 comments

Hi, on android 7.0, after I click on the register button, the registration work as well in ntfy app but no other button appears in up-example app. So I'm unable to test.
Thanks for any help

Hi, on android 7.0, after I click on the register button, the registration work as well in ntfy app but no other button appears in up-example app. So I'm unable to test. Thanks for any help
Owner
Copy link

What happens if you install sunup ? Have you opened at least once ntfy ? Have you disable battery optimisation for ntfy ? I have opened a PR to solve a bug regarding this: https://github.com/binwiederhier/ntfy-android/pull/97

What happens if you install sunup ? Have you opened at least once ntfy ? Have you disable battery optimisation for ntfy ? I have opened a PR to solve a bug regarding this: https://github.com/binwiederhier/ntfy-android/pull/97

Hi, thanks for your reply.
Ntfy work as well on the same device with ntfy.sh server. But, when I change to use my own ntfy server, I get no notification from UnifiedPush (but curl get command work). I think the problem doesn't come from ntfy.
So, my plan was to test UnifiedPush with the up-example app.

Hi, thanks for your reply. Ntfy work as well on the same device with ntfy.sh server. But, when I change to use my own ntfy server, I get no notification from UnifiedPush (but curl get command work). I think the problem doesn't come from ntfy. So, my plan was to test UnifiedPush with the up-example app.

Not sure your PR will be processed :
https://github.com/binwiederhier/ntfy/issues/1263

Not sure your PR will be processed : https://github.com/binwiederhier/ntfy/issues/1263
Owner
Copy link

I think ntfy can't correctly create a topic on your server and doesn't reply with an error to UP-Example, so nothing happens. Can you:

  • Wipe UP-Example data, and try again ? To see if something is wrong
  • Check ntfy logs with adb adb logcat --pid $(adb shell pidof io.heckel.ntfy) ?
I think ntfy can't correctly create a topic on your server and doesn't reply with an error to UP-Example, so nothing happens. Can you: - Wipe UP-Example data, and try again ? To see if something is wrong - Check ntfy logs with adb `adb logcat --pid $(adb shell pidof io.heckel.ntfy)` ?
Owner
Copy link

They willl hopefully find a short moment to review the PR one day :)

They willl hopefully find a short moment to review the PR one day :)

@s1m wrote in #3 (comment):

I think ntfy can't correctly create a topic on your server and doesn't reply with an error to UP-Example, so nothing happens.

UP-example work fine with an another device (Android 14) on the same server. And the debug on server confirm the correct topic creation.

* Wipe UP-Example data, and try again ? To see if something is wrong

No changes except a new topic creation after I click on register.

* Check ntfy logs with adb `adb logcat --pid $(adb shell pidof io.heckel.ntfy)` ?

I'll check this point tomorrow when I'll back in the office.

@s1m wrote in https://codeberg.org/UnifiedPush/android-example/issues/3#issuecomment-3688973: > I think ntfy can't correctly create a topic on your server and doesn't reply with an error to UP-Example, so nothing happens. UP-example work fine with an another device (Android 14) on the same server. And the debug on server confirm the correct topic creation. > * Wipe UP-Example data, and try again ? To see if something is wrong No changes except a new topic creation after I click on register. > * Check ntfy logs with adb `adb logcat --pid $(adb shell pidof io.heckel.ntfy)` ? I'll check this point tomorrow when I'll back in the office.
Sign in to join this conversation.
No Branch/Tag specified
main
dev
2.2.0
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0-beta2
1.4.0
1.4.0-beta1
1.3.0
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
1.0.0-beta.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
UnifiedPush/android-example#3
Reference in a new issue
UnifiedPush/android-example
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?