[javascript_native_web 20.11.3] App version is always 0.0

Hi,

I am trying to integrate Countly in a Angular Ionic application, but I am always getting 0.0 for App Version.

My init settings are:

Countly.init({
app_key: COUNTLY_API_KEY,
url: COUNTLY_SERVER_IP,
app_version: '2.3.1',
debug: true,
require_consent: false,
offline_mode: false,
device_id: deviceId
});

I'm not using cordova sdk because of this issue:

https://support.count.ly/hc/en-us/community/posts/4403626610841-Countly-Capacitor-IOS-problem

0

Comments

2 comments
  • Hi Vasilije,

    In this case, you will need to use sessions, as the app version is sent as part of metrics, and metrics is part of sessions.

    0
    Comment actions Permalink
  • Thanks Kevin,

    Using sessions resolved the issue.

    0
    Comment actions Permalink

Please sign in to leave a comment.