kumarmanishc edited a comment on issue #873:
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/873#issuecomment-924850179


   Hello @Callan003 Yes I tried with some traditional approach of browser 
instance creation.
   
   _I have created an service as iab.service.ts and then used create function 
of IABService class_
   
   **You can also do some research and add options as well**
   
   `import { Injectable } from '@angular/core';
   declare const cordova: any;
   @Injectable({
     providedIn: 'root',
   })
   export class IABService {
     constructor() {}
   
     create(url: string, target: string = '_self', option = {}) {
       cordova.InAppBrowser.open(url, target);
     }
   }
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to