Skip to main content
Solved

Which SDK to use for Ionic with Capacitor?

  • November 1, 2022
  • 3 replies
  • 873 views

Hi,

 

I have apps that are built in Ionic with Capacitor and I’ve been using the JavaScript SDK for some time now, which worked great. I noticed the JavaScript SDK is now a legacy SDK and will be deprecated in the future, and there is no direct alternative for Ionic/Capacitor yet. 

 

Does anyone have any experience as to which SDK I should migrate to? The ones that come to mind are the Browser and the Node.js SDKs, but I’m not sure which one I should go for. 

 

Thank you

Best answer by Zhenia Semenina

Hey there,

Yes, indeed, the proper SDK would be the best but for now I would recommend JS/Node.

 

It’s definitely not 100% ideal solution but the best you could do atm!

 

Best,

Zhenia

View original
Did this topic help you find an answer to your question?

3 replies

Saish Redkar
Expert
Forum|alt.badge.img+10

Hey @lorin 

AFAIK, if this is a front end app, then Browser SDK might be more suitable.

I think the Node.js one is more suited for server side implementation since the doc mentions that “it uses the HTTP V2 API” . But I’m not 100% sure.

Maybe a platform specialist can confirm this one.


  • Author
  • New Member
  • 1 reply
  • November 3, 2022

Hi @Saish Redkar, thank you for the reply. Yes, the browser one seemed more suitable to me too, although they both seem really similar to me at a quick glance. I will probably end up trying the browser SDK as soon as I have time, and hope that it will work fine until a proper Ionic/Capacitor SDK will be developed (if at all). 

 

 


Forum|alt.badge.img+7

Hey there,

Yes, indeed, the proper SDK would be the best but for now I would recommend JS/Node.

 

It’s definitely not 100% ideal solution but the best you could do atm!

 

Best,

Zhenia


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings