on 2024 Jun 14 2:16 PM
I have built my own branded Asset Manager. I installed the app and executed onboarding (pressed "Use current application") - worked OK. I did not have to use QR code.
Later, I disabled the Passcode Policy in BTP Cockpit > Mobile Services > Mobile Settings Exchange. The QR code for onboarding has changed. Now when I install branded Asset Manager on a new device and choose "Use current application", the old passcode policy is loaded from BTP (set new passcode is required). And on the initializing screen, I get an error "Unable to get shared device encryption key".
With the disabled passcode policy, I have to use (scan) the new QR code (onboarding - button "Scan new QR code"). With new QR code onboarding works. But I need onboarding without a QR code.
The only settings I saw in the project about BTP are in <mdkproject>\BrandedSettings.json. But there is nothing that would have an impact on passcode policy.
Request clarification before answering.
My guess is that in your BrandedSettings.json > ConnectionSettings you have MultiUserEnabled set to true. In order to use the client in multi-user mode you MUST have a passcode policy defined and also have enabled the "Allow Upload of Pending Changes from Previous User (Enable Multiple User Mode)" option as well. The error you are getting is consistent with the client trying to use multi-user but it not being enabled in the backend.
If you don't need multi-user you can update the Connection Settings and re-build your branded client and that should fix it. The reason scanning the QR code works is that it now has multiuser set to false in the QR which then overrides the settings branded into the client.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
15 | |
8 | |
7 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.