设置本地内购页路径

当网站上设置使用本地内购页时,须通过此方法设置本地内购页的路径

如果需要使用本地内购页,当Session汇报返回时,会拿到本地内购页ID,这个
ID须作为本地内购页包名

网页端创建本地内购页,同时要将生成的内购页
ID作为内购页包名,把内购页包放入项目中

//nativePaywallId: 内购页包名
let nativePaywallPath = Bundle.main.path(forResource: "index", ofType: ".html", inDirectory: nativePaywallId)
DYMobileSDK.loadNativePaywall(paywallFullPath: nativePaywallPath, basePath: Bundle.main.bundlePath + nativePaywallId)
//nativePaywallPackage: 内购页包名
NSString *nativePaywallPath = [[NSBundle mainBundle] pathForResource:@"index" ofType:@".html" inDirectory:nativePaywallPackage];
NSString *basePath = [NSString stringWithFormat:@"%@%@",[[NSBundle mainBundle] bundlePath],nativePaywallPackage];
[DYMobileSDK loadNativePaywallWithPaywallFullPath:nativePaywallPath basePath:basePath];