This repository was archived by the owner on Apr 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-21
lines changed Expand file tree Collapse file tree 2 files changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -534,8 +534,8 @@ export class HelloWorldModel extends Observable {
534534 testing : true ,
535535 // Android automatically adds the connected device as test device with testing:true, iOS does not
536536 iosTestDeviceIds : [
537- "45d77bf513dfabc2949ba053da83c0c7b7e87715 " , // Eddy's iPhone 6s
538- "fee4cf319a242eab4701543e4c16db89c722731f" // Eddy's iPad Pro
537+ "fee4cf319a242eab4701543e4c16db89c722731f " , // Eddy's iPad Pro
538+ "a4cbb499e279054b55c206528f8510ff7fbf20c8" , // Eddy's iPhone X
539539 ] ,
540540 keywords : [ "keyword1" , "keyword2" ] // add keywords for ad targeting
541541 } ) . then (
Original file line number Diff line number Diff line change @@ -506,11 +506,6 @@ firebase.admob.showBanner = arg => {
506506
507507 view . addSubview ( firebase . admob . adView ) ;
508508
509- // support rotation events
510- // tear down first if this had been called already to avoid multiple event bindings
511- application . off ( application . orientationChangedEvent , firebase . admob . orientationHandler ) ;
512- application . on ( application . orientationChangedEvent , firebase . admob . orientationHandler ) ;
513-
514509 resolve ( ) ;
515510 } catch ( ex ) {
516511 console . log ( "Error in firebase.admob.showBanner: " + ex ) ;
@@ -519,20 +514,6 @@ firebase.admob.showBanner = arg => {
519514 } ) ;
520515} ;
521516
522- firebase . admob . orientationHandler = data => {
523- if ( firebase . admob . adView !== null ) {
524- firebase . admob . hideBanner ( ) . then ( res => {
525- try {
526- firebase . admob . showBanner ( firebase . admob . bannerOptions || firebase . admob . defaults ) ;
527- } catch ( err ) {
528- console . log ( "Error in orientationHandler - firebase.admob.showBanner: " + err ) ;
529- }
530- } , err => {
531- console . log ( "Error in orientationHandler - firebase.admob.hideBanner: " + err ) ;
532- } ) ;
533- }
534- } ;
535-
536517firebase . admob . showInterstitial = arg => {
537518 return new Promise ( ( resolve , reject ) => {
538519 try {
You can’t perform that action at this time.
0 commit comments