Closed fhls closed 5 years ago
+1
+1
hi @fhls, thanks for raising this issue. Is there a reason why you are using the latest git version and not version 2.1.0? Only released versions are stable and should be used. Is it because you wish to use the new position option?
i've pushed a fix for this. You should no longer receive the compilation errors.
hi @shnist, thank you for your quick fix. Previously we use a url pointing to this plugin repository (because of this issue #204) and then we encounter this build error in our automated build. We already change to the stable released version.
Not a problem with the released version 2.1.0. It is when build with the latest code from git the console will give the error below:
/Users/vsts/agent/2.142.1/work/4/s/platforms/ios/App/Plugins/cordova-plugin-file-opener2/FileOpener2.m:47:27: error: use of undeclared identifier 'cont' rect = CGRectMake(0, 0, cont.view.bounds.size.width, cont.view.bounds.size.height); ^ /Users/vsts/agent/2.142.1/work/4/s/platforms/ios/App/Plugins/cordova-plugin-file-opener2/FileOpener2.m:47:56: error: use of undeclared identifier 'cont' rect = CGRectMake(0, 0, cont.view.bounds.size.width, cont.view.bounds.size.height);
1 warning and 2 errors generated.
Regards