android-targetSdkVersion attribute use for mobile App

android-targetSdkVersion attribute use for mobile App

  

Hi All, 


Does any one know what is the use of the below attribute in mobile App, 


{
                "name":"android-targetSdkVersion",
                "value":"26"
}


We had this configuration present in our mobile app due to which push notifications were not coming up in new android devices, we have remove it and now push notifications are coming up.


But there can be any impact of removing this configurations somewhere else ? Will any functionality break ?   any idea ?


Your answers will be helpful for us.

Regards,

Akshay Tank.

Good morning,

Google is migrating to Android 8.0. Therefor, when you want to publish your application to the appstore, API 26 is needed. OutSystems used API 23. 

More info:

https://www.outsystems.com/forums/discussion/35895/api-level-23-to-api-level-26/

https://developer.android.com/about/versions/oreo/android-8.0-migration


Kind Regards,


Martin Rozeboom

Martin Rozeboom wrote:

Good morning,

Google is migrating to Android 8.0. Therefor, when you want to publish your application to the appstore, API 26 is needed. OutSystems used API 23. 

More info:

https://www.outsystems.com/forums/discussion/35895/api-level-23-to-api-level-26/

https://developer.android.com/about/versions/oreo/android-8.0-migration


Kind Regards,


Martin Rozeboom

Thanks Martin for the answer, 


The problem for us is , it is now mandatory to define targetSdkVersion property in mobile app , without it , google play store blocks to upload.


But if we define this property and set it's value to 26, we do not receive push notifications on android with APiI level 27 .


What should be the solution for this ?


How did you implement the push notifications? 

Hi,


Which plugin are you using to send push notifications?


This article is about the change needed to the Firebase Cloud Messaging, but I think that for other push notification services it should be a similar implementation, Notification Channel needs to be implemented in the plugin.


I'm having some trouble in implementing this because the build needs to be compiled in SDK version 26 and I haven't still found out how to do that.


Hope this helps!

Patrícia Glória Ferreira wrote:

Hi,


Which plugin are you using to send push notifications?


This article is about the change needed to the Firebase Cloud Messaging, but I think that for other push notification services it should be a similar implementation, Notification Channel needs to be implemented in the plugin.


I'm having some trouble in implementing this because the build needs to be compiled in SDK version 26 and I haven't still found out how to do that.


Hope this helps!

Managed to implement it successfully by modifying the plugin please,check the link below for the post I made

https://www.outsystems.com/forums/discussion/38249/version-1-0-3-does-not-work-with-oreo/#Post149158

Explanation for what I had done!
Root cause was no function for channel management and creation of default channel is present and hence requiring me to add the functions required and update the FCM Push and firebase core plugin to the latest version.
The plugin use an older version of the FCM hence I had to update it via editing plugin.xml and push.gradle in order for it to generate app


EDIT:Grammar error