Retrieving app name in code

Hi,

Our app is build by an automated process for over 100+ different clients. These pretty much all get a unique name on the home screen. I was wondering if i could retrieve this name and use it in the app ( in this case to use it as an album name to store downloaded photo’s in.

Thanks in advance,
Robin

2 options:

  1. The automated process could replace a placeholder value in a .ts file before building the app.
  2. You can use this Ionic Native plugin that also returns the app name: https://ionicframework.com/docs/native/app-version/#getAppName
1 Like

Thanks, we are indeed considering option 1 and i did search for option 2 but could not find anything so thanks for the link

1 Like