Skip to content

Added "alert on connect", changed design a little#68

Draft
fluffyspace wants to merge 14 commits intos4ysolutions:masterfrom
fluffyspace:master
Draft

Added "alert on connect", changed design a little#68
fluffyspace wants to merge 14 commits intos4ysolutions:masterfrom
fluffyspace:master

Conversation

@fluffyspace
Copy link

Hi. First of all, thank you for an amazing application and making it free and open source. It's not easy being the only contributor. I love the code you wrote.

I modified the application because I have a cat and I need to get a notification when it comes in range. It would also be amazing to add "passive mode" which wouldn't connect to iTag but rather capture Bluetooth advertisements so that more devices can listen to it. I'm aware that in passive mode the iTag doesn't send advertisements as often as in connected mode but it would be a nice feature.

This is the first time I'm contributing to a project on GitHub, I hope i didn't do bad. I checked for bugs and I couldn't find any, but I'm sure there are some because it's hard to be flawless.

What I did:

  • change color of "forget" button to red
  • change icon of "change color" button to color picker icon so that it's more obvious
  • renamed some methods so it made more sense to me while I developed
  • added alert mode to iTag's settings - no alert, alert on disconnect, alert on connect, alert on both
  • added UUID (or how it's called) below iTag's name on main screen
  • added RSSI text next to RSSI indicator and made RSSI indicator wider
  • added text "Mode: connect/don't connect" to bottom left corner of iTag's display
  • made Bluetooth icon change color based on connection status
  • made iTag's opacity less when it's disconnected
  • cut audios in Audacity to shorter length since it's repeating, to make files smaller
  • added and changed translations

@fluffyspace fluffyspace marked this pull request as draft April 12, 2024 21:16
@fluffyspace
Copy link
Author

I found new bugs I introduced. I will repair them before opening the pull request again.

@fluffyspace fluffyspace marked this pull request as ready for review April 14, 2024 21:29
@fluffyspace
Copy link
Author

@dsame will you check it out?

@dsame dsame force-pushed the master branch 3 times, most recently from ff5b79f to f83aa5d Compare June 13, 2024 21:15
@dsame
Copy link
Contributor

dsame commented Jul 25, 2024

@fluffyspace Sorry for delay, this app is free and am not able to react only as soon as possible. Besides that I was busy with the big refactoring needed to make support easier.

Now PR has conflicts because the codebase has changed a lot. Can you please update the PR. I am interested about improving aesthetic but have no talent for this :)

Resolved conflicts while preserving PR features:
- Alert modes (on connect, on disconnect, both, none)
- Reconnect mode toggle
- Passive scanner mode
- Shake animations
- Device opacity based on connection status

Updated to upstream SDK versions (minSdk 23, targetSdk 34) and
modern Bluetooth permissions (BLUETOOTH_CONNECT, BLUETOOTH_SCAN)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@fluffyspace
Copy link
Author

fluffyspace commented Jan 13, 2026

@dsame Finally got around to this - thanks for not closing it on me after all this time! I'm not done, there are some errors now...

@fluffyspace fluffyspace marked this pull request as draft January 13, 2026 15:13
- Enable BuildConfig generation in itagble module
- Add missing connect() method to BLEPeripheralDefault to satisfy interface
- Add missing REQUEST_ENABLE_LOCATION constant in MainActivity
- Fix method name: isDisconnectAlert() → isDisconnectAlertOn()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

3 participants