The Family Share plan functionality only works when the application has been purchased through the App Store and not an in-app purchase. More information on this can be found here on Apple's Website.