@Jfdsb (José Francisco de Sousa Barao) posted a new topic, subject "MinSDK VS TargetSDK". It read:

   Hello community, I've got a question I hope someone can help me understand this.
    
    Last friday I uploaded an app with API 28 as min sdk  
    
    
    I understand that in my cellphone (Android 8.1) I will not be able to use it, But if I upload an min sdk version below API 29 (as of 3rd august) PlayStore will reject it. So I am trying to understand this:
    
    If I choose minsdk API 19 -> It will be usable in API 19,20,21,22,23,24,25,26,27,28,29 (But will PlayStore policy allow me to upload an App with min sdk19? Because August 3rd the min version is API 29. So Im trying to figure it out if only latest cellphones will be the only ones to use latest apps.)
    
    Or how does it work?

@Boban (Boban Stojmenovic) replied

    Jfdsb:
    
    > If I choose minsdk API 19 -> It will be usable in API 19,20,21,22,23,24,25,26,27,28,29 (But will PlayStore policy allow me to upload an App with min sdk19?
    
    Yes
    
    Jfdsb:
    
    > **Because August 3rd the min version is API 29**. So Im trying to figure it out if only latest cellphones will be the only ones to use latest apps.)
    
    You have misunderstood it, it should be target…
    
    https://developer.android.com/distribute/best-practices/develop/target-sdk
    
    Target is set by the server when you build your app and you can't control it either

To which @Jfdsb (José Francisco de Sousa Barao) replied

    Boban:
    
    > Target is set by the server when you build your app and you can't control it either
    
    That was what I was scared of!!! Thank god. So to sum up in easy words: Google wants API 29 to be included in the target, but they re not requiring us API 29 to be the min SDK - And the way the API 29 is targeted is vía Kodular servers, so we shouldn't care about that. If we want to be usable in all phones we should leave the min sdk as API 19, and the server will build it with targets for all APIs. Am I correct?

To which @Hassan (Hassan) replied

    Refer to this
    
    Play Store Updates Policy (July 2020) | Help Off Topic
    
    > Kodular current default TargetApi is android:targetSdkVersion="28"/> You may change it from the Manifest, otherwise wait for Kodular's update I think you are confuse between minSdk and targetSdk You can upload to google play minSdk less than or equal to 29 [image]
    
    And
    
    Kodular Eagle  Releases
    
    > Version 1.4C.5  Companion update will be available through Google Play Store in the upcoming hours. Major Changes Added Target SDK 29 Android 10 Updated QR Scanner layout New Components Added Unity Ads Banner component New Methods New Get Entries method to TinyDB [component_method] Bugs fixed Fixed some minor bugs

Then @bestprintsf (Leandro Z) said

    I would like to add that some extensions or components require a minsdk to function. Based on this you must configure your minsdk inside your Kodular Creator.  
    For example  
    Youtube Player component Requires API 17  
    https://docs.kodular.io/components/google/youtube-player/  
    or  
    ExoPlayer component Requires API 19  
    https://docs.kodular.io/components/media/exoplayer/

To which @Jfdsb (José Francisco de Sousa Barao) replied

    Thanks Lea, that's very useful!!!

Then @Boban (Boban Stojmenovic) said

    bestprintsf:
    
    > Based on this you must configure your minsdk inside your Kodular Creator.
    
    No need for that, if you set min 19 and component/extension require 21, it will build as min 21…

After which, @bestprintsf (Leandro Z) added

    Boban:
    
    > No need for that, if you set min 19 and component/extension require 21, it will build as min 21…
    
    Thanks @Boban for the info i thinks this are necesary to set min to component works.  
    Where i can read that info I want to know ?  
    I'm sure not many users know this …

@vknow360 (Sunny Gupta) replied

    bestprintsf:
    
    > Where i can read that info I want to know ?
    
    See here:  
    
    
    Learn more: App Inventor Annotations - مستندات Google

Then @bestprintsf (Leandro Z) said

    Thanks you so much help is appreciated !!!


{'source': 'discourse', 'url': 'https://community.kodular.io/t/minsdk-vs-targetsdk/76156', 'title': 'MinSDK VS TargetSDK', 'views': 762, 'has_accepted_answer': False, 'word_count': 616, 'like_count': 8, 'reply_count': 8, 'participant_count': 5, 'posts': 10, 'tags': '', 'author': '@Jfdsb (José Francisco de Sousa Barao)', 'participants': '@Jfdsb (José Francisco de Sousa Barao), @Boban (Boban Stojmenovic), @Hassan (Hassan), @bestprintsf (Leandro Z), @vknow360 (Sunny Gupta)', 'image_url': ['https://kodular-community.s3.dualstack.eu-west-1.amazonaws.com/original/3X/2/4/246e5776ff721387c4c96ef13b98308532c211b4.png'], 'created_at': '2020-08-04T00:42:53.918Z', 'last_posted_at': '2020-08-04T03:54:00.437Z'}