Visitor ID service should serve the same MID as long as you are using same Marketing cloud ORG ID in the configuration and the demdex cookie is present. To get same mid across app and web, you may implement appendVisitorIDsTo function and that will help your use case.