<table><tr><td style="">vkrause added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D17851">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D17851#386243" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: line-through;">D17851#386243</a>, <a href="https://phabricator.kde.org/p/nicolasfella/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@nicolasfella</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><p>Please note that all apps uploaded to the Play Store need to have a target API level >= 26 (Oreo). This means (among other things) that notifications need to have a channel (see <a href="https://developer.android.com/training/notify-user/channels" class="remarkup-link" target="_blank" rel="noreferrer">https://developer.android.com/training/notify-user/channels</a>). The current code will fail as soon as the app developer has a target API >= 26 specified. See <a href="https://developer.android.com/training/notify-user/channels" class="remarkup-link" target="_blank" rel="noreferrer">https://developer.android.com/training/notify-user/channels</a> for details. I would know how to do the required Java changes (I have done it for KDE Connect <a href="https://phabricator.kde.org/D9514" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: line-through;">D9514</a>) but I'm not sure if/how it's possible to do it without the support library/androidx and adding it to the build seems above my knowledge.</p></div>
</blockquote>
<p>Yep, I'm working on getting the support libs... I managed to get downloading of maven-based dependencies to work, but turns out all the Android support libs are AARs rather than JARs (which we can consume directly). Extracting the JAR from the AAR and linking against that builds, but that doesn't look like the right approach at all. I'd therefore like to explore building the entire Java side with Gradle (similar to what androiddeployqt does). This would solve the dependency problem for free and bring us much closer to how "normal" Android stuff is built, which should be much more sustainable.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R289 KNotifications</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17851">https://phabricator.kde.org/D17851</a></div></div><br /><div><strong>To: </strong>vkrause, apol<br /><strong>Cc: </strong>apol, nicolasfella, kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>