from InApp v2 to InApp v3