diff --git a/src/app/beans/bean-popover-freeze/bean-popover-freeze.component.ts b/src/app/beans/bean-popover-freeze/bean-popover-freeze.component.ts index 02d99cea..08e1c090 100644 --- a/src/app/beans/bean-popover-freeze/bean-popover-freeze.component.ts +++ b/src/app/beans/bean-popover-freeze/bean-popover-freeze.component.ts @@ -258,6 +258,9 @@ export class BeanPopoverFreezeComponent implements OnInit { clonedBean.frozenGroupId = _groupBeanId; clonedBean.frozenStorageType = _freezingType; clonedBean.frozenNote = this.frozenNote; + clonedBean.internal_share_code = ''; + clonedBean.shared = false; + clonedBean.qr_code = ''; if (this.bean.cost !== 0) { try { diff --git a/src/services/intentHandler/intent-handler.service.ts b/src/services/intentHandler/intent-handler.service.ts index 12db518d..387472ce 100644 --- a/src/services/intentHandler/intent-handler.service.ts +++ b/src/services/intentHandler/intent-handler.service.ts @@ -90,6 +90,10 @@ export class IntentHandlerService { } catch (ex) {} this.uiLog.log('Found shared bean ' + userBeanJSON); if (userBeanJSON) { + /* + * Android import is replacing the "+" with spaces when using the params, therefore we need to revert it. + */ + userBeanJSON = userBeanJSON.replace(/ /g, '+'); await this.addBeanFromUser(userBeanJSON); } } else if ( @@ -105,6 +109,10 @@ export class IntentHandlerService { userBeanJSON += String(urlParams.get(param)); } if (userBeanJSON) { + /* + * Android import is replacing the "+" with spaces when using the params, therefore we need to revert it. + */ + userBeanJSON = userBeanJSON.replace(/ /g, '+'); await this.addBeanFromUser(userBeanJSON); } } else if (