@devansh-webkul This issue was already solved by my backend developer with same solution as you referred.
did the same thing still got the different cart id on guest from mobile.
I had already followed the process same as documentation. But new different cart is created while adding same and different product too.
How to add product on cart as a guest from api? and checkout as a guest.