Skip to content

Commit

Permalink
fix (CDVWebViewEngine): JavaScript to Native Call Not Working
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu authored Feb 13, 2020
1 parent b0280cf commit 3c418eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/templates/project/__PROJECT_NAME__/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
<preference name="PaginationBreakingMode" value="page" /> <!-- page, column -->
<preference name="PaginationMode" value="unpaginated" /> <!-- unpaginated, leftToRight, topToBottom, bottomToTop, rightToLeft -->

<feature name="CDVWebViewEngine">
<param name="ios-package" value="CDVWebViewEngine" />
</feature>
<feature name="LocalStorage">
<param name="ios-package" value="CDVLocalStorage"/>
</feature>
Expand Down
3 changes: 3 additions & 0 deletions bin/templates/scripts/cordova/defaults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
<preference name="PaginationBreakingMode" value="page" /> <!-- page, column -->
<preference name="PaginationMode" value="unpaginated" /> <!-- unpaginated, leftToRight, topToBottom, bottomToTop, rightToLeft -->

<feature name="CDVWebViewEngine">
<param name="ios-package" value="CDVWebViewEngine" />
</feature>
<feature name="LocalStorage">
<param name="ios-package" value="CDVLocalStorage"/>
</feature>
Expand Down

0 comments on commit 3c418eb

Please sign in to comment.