Sahil Khanna
Sahil Khanna
@naman20sharma, ### Types of Backup - **Cloud Backup**: Stored with the Mediator Agent (`EdgeClientService.CreateBackupAsync`) - **File Backup**: Exported to a file (`AgentContext.Wallet.ExportAsync`) ### Steps to restore the backup **From Cloud...
> Hi @sahil-khanna thanks for your reply. > I've been using Aries .NET sdk for over a year now. I've tried using the apis mentioned above. But, my concern was...
You can try the below to get the list of `BasicMessage` `List basicMessageRecords = await walletRecordService.SearchAsync(AgentContext.Wallet, SearchQuery.Equal(nameof(BasicMessageRecord.ConnectionId), Connection.Record.Id), null, int.MaxValue);`
@juvebogdan, You can search for the Push Token from `walletRecordService.SearchAsync`. Use the search query for `inboxItemEvent.InboxId`. This will list the `DeviceInfoRecord`s from where you can get the `DeviceId`
> One more possible issue. > Push tokens can change over time for different reasons (app upgrade, etc..). > > It seems that `RoutingInboxHandler` returns a `WalletItemAlreadyExistsException` when invoking `AddDeviceInfoAsync`...
@Drilmo , You can try the below code. Replace it with [this](https://github.com/hyperledger/aries-mobile-agent-xamarin/blob/028ed7470583c601507d5aaf1c8ff91cce92e683/mediator/Program.cs#L16) line ``` IHost Container = CreateHostBuilder(args).Build(); var eventAggregator = (IEventAggregator)Program.Container.Services.GetService(typeof(IEventAggregator)); _ = eventAggregator.GetEventByType().Subscribe(inboxItemEvent => { // Get the...
> > @Drilmo , > > You can try the below code. Place it just below [this](https://github.com/hyperledger/aries-mobile-agent-xamarin/blob/028ed7470583c601507d5aaf1c8ff91cce92e683/mediator/Program.cs#L16) line > > ``` > > eventAggregator = (IEventAggregator)Program.Container.Services.GetService(typeof(IEventAggregator)); > > > >...
> @naman20sharma, below are my responses to your questions. 1. Where should we add these line of code in the Mobile wallet code ? A: You need to add the...
@mturetchi, you may want to store the encoded attachment string in the `tag` attribute of the record with which the attachment was received.
@mturetchi, alternately, you may write the attachment (file) in the device file system and store the path in the `tag` of the record.