diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml
index a540873..9acf0d6 100644
--- a/.github/workflows/npm-publish-github-packages.yml
+++ b/.github/workflows/npm-publish-github-packages.yml
@@ -7,13 +7,14 @@ on:
description: 'Version in semantic versioning format (i.e. 1.0.2)'
required: true
jobs:
- publish:
+ package_publishing:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
env:
+ ACTIONS_STEP_DEBUG: true
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
@@ -27,7 +28,7 @@ jobs:
scope: '@salemove'
- name: Authenticate to GitHub Packages
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.PAT_TOKEN }}" > ~/.npmrc
+ run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- name: Install dependencies
run: npm install
diff --git a/.npmrc b/.npmrc
index d72ad01..7752500 100644
--- a/.npmrc
+++ b/.npmrc
@@ -1,2 +1 @@
-//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
-@salemove:registry=https://npm.pkg.github.com
\ No newline at end of file
+@salemove:registry=https://npm.pkg.github.com/
\ No newline at end of file
diff --git a/android/src/main/java/com/glia/widgets/ionic/GliaSdk.java b/android/src/main/java/com/glia/widgets/ionic/GliaSdk.java
index 137c441..1fb4e94 100644
--- a/android/src/main/java/com/glia/widgets/ionic/GliaSdk.java
+++ b/android/src/main/java/com/glia/widgets/ionic/GliaSdk.java
@@ -165,10 +165,10 @@ public void showVisitorCodeViewController(PluginCall call, Activity activity) {
Authentication authentication;
public void authenticate(PluginCall call) {
String authRawBehaviorValue = call.getString("behavior");
- String jwtToken = call.getString("jwtToken");
+ String jwtToken = call.getString("idToken");
if (jwtToken == null) {
- call.reject("'jwtToken' is missing");
+ call.reject("'idToken' is missing");
return;
}
if (authRawBehaviorValue == null) {
diff --git a/example-app/ios/App/App/Info.plist b/example-app/ios/App/App/Info.plist
index be28793..8fd5607 100644
--- a/example-app/ios/App/App/Info.plist
+++ b/example-app/ios/App/App/Info.plist
@@ -27,6 +27,12 @@
NSAllowsArbitraryLoads
YES
+ NSCameraUsageDescription
+ This app needs camera for audio/video calls and photo sending
+ NSMicrophoneUsageDescription
+ This app needs microphone for audio/video calls and for recording video
+ NSPhotoLibraryAddUsageDescription
+ Save attachments
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/package-lock.json b/package-lock.json
index 345fb8d..4fd7647 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "@salemove/glia-widgets-ionic",
+ "name": "@salemove/widgets_sdk_ionic",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "@salemove/glia-widgets-ionic",
+ "name": "@salemove/widgets_sdk_ionic",
"version": "1.0.0",
"license": "MIT",
"devDependencies": {
diff --git a/package.json b/package.json
index 90b2082..7cd7881 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "@salemove/glia-widgets-ionic",
+ "name": "@salemove/widgets_sdk_ionic",
"version": "1.0.0",
"description": "GliaWidgets SDK is a simple and customisable framework built on top of GliaSDK. It provides all the necessary UI components to quickly integrate GliaSDK into your project.",
"main": "dist/plugin.cjs.js",