How do I bring back users who haven't opened the app for a long time?
First understand why they left: look at their last actions, crashes and reviews. Then give them a reason to return tied to their interests: something new in favourites, an order status, a personal offer. If the app has been deleted, you can reach them only through email, ads or messengers. Without fixing the reason they left, the return will be short.
More in the guide mobile app retention; send a request on the development page.