Google change API Level 28 to 29

Hi,
I want ask one question, can i purchase old Android code thi se published before google change api and still authors didn’t update code.

What will happen If i purchase code, can i submit to play store without getting api level 29 error.