mcfly soft
mcfly soft

Reputation: 11645

Updating app to a newer api in google play store

I couldn't figure out from documentation, so I am asking here.

After updating the app in google play, are old devices still be able to use the older version ? Or is my app seen only from devices with 24+ ?

Is it in general recommended to upgrade to 24+ to use java8 ?

Upvotes: 0

Views: 94

Answers (1)

kAvEh
kAvEh

Reputation: 562

  • For the first question only users who have installed the app before can use it but cant update it anymore, and new users with devices which have older SDK than 24 cant see your app in store.
  • About your second question, this is your choice to use java8 features and ignore older devices or not. but general advise is not raising your minSDK.

You can handle each situation you need for minSDK 24+ like this:

if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N){ 
    // Devices with SDk 24+ 
} else { 
    // Devices with SDK 24- 
}

Upvotes: 1

Related Questions