braze-inc / braze-cordova-sdk

Public repo for the Braze Cordova SDK
https://www.braze.com
Other
21 stars 62 forks source link

use web-sdk and cordova-sdk at the same time within an ionic 5 application #65

Closed bitsmanueldelgado closed 2 years ago

bitsmanueldelgado commented 3 years ago

Hello,

it is possible to use braze web-sdk and cordova-sdk at the same time within an ionic 5 application

what I want is to show the content cards with web-sdk to change the styles and the way it is shown and the other options like push that are made from cordova-sdk

I could have these two sdks running on the same project and they wouldn't collide with each other

radixdev commented 3 years ago

Hi @bitsmanueldelgado ,

I would only recommend you ensure that the web sdk doesn't attempt any push registration and collide with the native cordova-sdk's push registration. But yes I don't foresee any issues with that approach. We don't formally recommend this sort of integration but I also don't see any roadblocks from doing so.

Did you have any other questions?

bitsmanueldelgado commented 3 years ago

Hello @radixdev,

thanks for answering, yes i have another questions

  1. Can I test cordova sdk on the web without compiling for android or ios? and what would be the steps I have to take to compile it for the web

  2. I want to use the sdk only to show content cards, in an ionic application these content cards with the cordova sdk are shown with html structure

radixdev commented 3 years ago
  1. https://www.braze.com/docs/developer_guide/platform_integration_guides/web/initial_sdk_setup/
  2. Can you elaborate on the question here?
Bucimis commented 2 years ago

closing out due to inactivity