All apps are delivered via the Apple/Google App Store and ownership through one store cannot be transferred to the other store.
So it is necessary to repurchase the app for your new platform if you move from an Apple mobile device to an Android mobile device or vice versa.