What was that mobile virtual pet called?

I remember it was an alien and you had to hatch it as an egg. Umm I also remember that you could swipe right and left and it would show different screens with different challenges. And you had to complete these in order to build a space ship and when you did you got points for landing on different planets. I remember it being on google play and now have an iPhone plus I don't even know if it's still a thing because this was years ago but it's still bothering me so if you could help that'd be great lol

After it hatched it was a little black ball with an antenna. You had to feed it and bathe it. And it got sick if you didn't so you had to buy med from a bird

Was it tamogotchi?