diff --git a/apps.json b/apps.json index e5d6dad8a..456ce0217 100644 --- a/apps.json +++ b/apps.json @@ -57,7 +57,7 @@ { "id": "messages", "name": "Messages", - "version": "0.10", + "version": "0.11", "description": "App to display notifications from iOS and Gadgetbridge", "icon": "app.png", "type": "app", @@ -95,7 +95,7 @@ { "id": "ios", "name": "iOS Integration", - "version": "0.06", + "version": "0.07", "description": "(BETA) App to display notifications from iOS devices", "icon": "app.png", "tags": "tool,system,ios,apple,messages,notifications", diff --git a/apps/ios/ChangeLog b/apps/ios/ChangeLog index 28ad78dec..1b52a404f 100644 --- a/apps/ios/ChangeLog +++ b/apps/ios/ChangeLog @@ -4,4 +4,5 @@ 0.04: Added common bundleId's 0.05: Added more bundleId's (app-id's which can be used to determine a friendly app name in the notifications) -0.06: Fix (not) popupping up old messages \ No newline at end of file +0.06: Fix (not) popupping up old messages +0.07: Added common bundleId's diff --git a/apps/ios/boot.js b/apps/ios/boot.js index d402facbb..acaad3925 100644 --- a/apps/ios/boot.js +++ b/apps/ios/boot.js @@ -67,6 +67,7 @@ E.on('notify',msg=>{ "com.apple.mobilemail": "Mail", "com.apple.MobileSMS": "SMS Message", "com.apple.Passbook": "iOS Wallet", + "com.apple.podcasts": "Podcasts", "com.apple.reminders": "Reminders", "com.apple.shortcuts": "Shortcuts", "com.atebits.Tweetie2": "Twitter", @@ -81,22 +82,26 @@ E.on('notify',msg=>{ "com.ifttt.ifttt" : "IFTTT", "com.jumbo.app" : "Jumbo", "com.linkedin.LinkedIn" : "LinkedIn", + "com.microsoft.Office.Outlook" : "Outlook Mail", "com.nestlabs.jasper.release" : "Nest", "com.netflix.Netflix" : "Netflix", "com.reddit.Reddit" : "Reddit", "com.skype.skype": "Skype", "com.skype.SkypeForiPad": "Skype", "com.spotify.client": "Spotify", + "com.strava.stravaride": "Strava", "com.tinyspeck.chatlyio": "Slack", "com.toyopagroup.picaboo": "Snapchat", "com.ubercab.UberClient": "Uber", "com.ubercab.UberEats": "UberEats", + "com.vilcsak.bitcoin2": "Coinbase", "com.wordfeud.free": "WordFeud", "com.zhiliaoapp.musically": "TikTok", "net.whatsapp.WhatsApp": "WhatsApp", "nl.ah.Appie": "Albert Heijn", "nl.postnl.TrackNTrace": "PostNL", "ph.telegra.Telegraph": "Telegram", + "tv.twitch": "Twitch", // could also use NRF.ancsGetAppInfo(msg.appId) here }; diff --git a/apps/messages/ChangeLog b/apps/messages/ChangeLog index 269a2cf62..f703a1e25 100644 --- a/apps/messages/ChangeLog +++ b/apps/messages/ChangeLog @@ -12,4 +12,5 @@ buzz on new message (fix #999) 0.09: Message now disappears after 60s if no action taken and clock loads (fix 922) Fix phone icon (#1014) -0.10: Respect the 'new' attribute if it was set from iOS integrations \ No newline at end of file +0.10: Respect the 'new' attribute if it was set from iOS integrations +0.11: New notification icons, more app icons diff --git a/apps/messages/app-icon.js b/apps/messages/app-icon.js index 6ed3c1141..4fe202dd6 100644 --- a/apps/messages/app-icon.js +++ b/apps/messages/app-icon.js @@ -1 +1 @@ -require("heatshrink").decompress(atob("mEw4UA///rkcAYP9ohL/ABMBqoAEoALDioLFqgLDBQoABERIkEBZcFBY9QBed61QAC1oLF7wLD24LF24LD7wLF1vqBQOrvQLFA4IuC9QLFD4IuC1QLGGAQOBBYwgBEwQLHvQBBEZHVq4jI7wWBHY5TLNZaDLTZazLffMBBY9ABZsABY4KCgEVBQtUBYYkGEQYA/AAwA=")) +require("heatshrink").decompress(atob("mEwwMB/4Ak/k/Aof4j4FD/OfAYPvAof38//+EP//n5//4ED//z51/gEB/1zzwFBgH+vOc/wFBv85zn8AoM/nO5AoednIFDzgFG/AFHj4FezgFDI4IFFvAFBj055wFDufPCIfz4/wAoMP8fvAof3//gAoMHSwIFF4AFBSAIFGABitCApDRFAEIA==")) \ No newline at end of file diff --git a/apps/messages/app.js b/apps/messages/app.js index c609acb4b..f2f1ee6e9 100644 --- a/apps/messages/app.js +++ b/apps/messages/app.js @@ -65,6 +65,9 @@ function saveMessages() { function getBackImage() { return atob("FhYBAAAAEAAAwAAHAAA//wH//wf//g///BwB+DAB4EAHwAAPAAA8AADwAAPAAB4AAHgAB+AH/wA/+AD/wAH8AA=="); } +function getMailImage() { + return atob("HBKBAD///8H///iP//8cf//j4//8f5//j/x/8//j/H//H4//4PB//EYj/44HH/Hw+P4//8fH//44///xH///g////A=="); +} function getPosImage() { return atob("GRSBAAAAAYAAAcAAAeAAAfAAAfAAAfAAAfAAAfAAAfBgAfA4AfAeAfAPgfAD4fAA+fAAP/AAD/AAA/AAAPAAADAAAA=="); } @@ -80,6 +83,8 @@ function getMessageImage(msg) { if (s=="whatsapp") return atob("GBiBAAB+AAP/wAf/4A//8B//+D///H9//n5//nw//vw///x///5///4///8e//+EP3/APn/wPn/+/j///H//+H//8H//4H//wMB+AA=="); if (s=="telegram") return atob("GBiBAAAAAAAAAAAAAAAAAwAAHwAA/wAD/wAf3gD/Pgf+fh/4/v/z/P/H/D8P/Acf/AM//AF/+AF/+AH/+ADz+ADh+ADAcAAAMAAAAA=="); if (s=="twitter") return atob("GhYBAABgAAB+JgA/8cAf/ngH/5+B/8P8f+D///h///4f//+D///g///wD//8B//+AP//gD//wAP/8AB/+AB/+AH//AAf/AAAYAAA"); + if (s=="mail") return getMailImage(); + if (s=="gmail") return getMailImage(); if (msg.id=="music") return atob("FhaBAH//+/////////////h/+AH/4Af/gB/+H3/7/f/v9/+/3/7+f/vB/w8H+Dwf4PD/x/////////////3//+A="); if (msg.id=="back") return getBackImage(); return atob("HBKBAD///8H///iP//8cf//j4//8f5//j/x/8//j/H//H4//4PB//EYj/44HH/Hw+P4//8fH//44///xH///g////A=="); diff --git a/apps/messages/app.png b/apps/messages/app.png index c9177692e..2ea4253f1 100644 Binary files a/apps/messages/app.png and b/apps/messages/app.png differ