load provider as per platform