File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ function decodeBase64(base64) {
3636}
3737
3838window . createView = ( options ) => {
39- options . platform = 'android' ;
4039 log ( "Create " + options . type + " view" ) ;
4140 const annotations = JSON . parse ( decodeBase64 ( options . annotations ) ) ;
4241 log ( "Loaded " + annotations . length + " annotations" ) ;
4342 window . _view = new View ( {
43+ platform : 'android' ,
4444 type : options . type ,
4545 annotations : annotations ,
4646 viewState : options . viewState ,
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ function decodeBase64(base64) {
2020}
2121
2222window . createView = options => {
23- options . platform = 'ios' ;
2423 log ( "Create " + options . type + " view" ) ;
2524 const annotations = JSON . parse ( decodeBase64 ( options . annotations ) ) ;
2625 log ( "Loaded " + annotations . length + " annotations" ) ;
2726 window . _view = new View ( {
27+ platform : 'ios' ,
2828 type : options . type ,
2929 annotations : annotations ,
3030 viewState : options . viewState ,
You can’t perform that action at this time.
0 commit comments