denis-akazuki / samp-mobile-cef

🌐 Solution for implementing WebView (CEF) in SA:MP Mobile
10 stars 5 forks source link

Possibility to create multiple WebView instances #4

Closed Rayavitor closed 1 month ago

Rayavitor commented 1 month ago

In the next version, could you add the option to create more than one browser? For example: CefInitBrowser(playerid, url[], browserId) and CefDestroyBrowser(playerid, browserId), etc.

denis-akazuki commented 1 month ago

Hi. I have a suspicion that not every smartphone can handle the load of multiple WebView instances. You can use a single instance, and in your code load the required interface using JavaScript.

Rayavitor commented 1 month ago

Thank you for your response.