Skip to content

How to fetch the latest identity info after the service is updated? #23

@hoocbee

Description

@hoocbee

Hi,

I wonder how the client could fetch the updated number identity info after the server updates input.txtpb?

At first, the content of my input.txtpb file was like this:

图片 1

After executing the ConstructDatabase, PIRProcessDatabase and PIRService commands, I installed my App and turned on the LIVE CALLERID LOOKUP, and successfully displayed "ID1" when the call came in.
图片 2

Then, I changed the name of the input.txtpb file from “ID1” to "ID2".
However, after I re-executed the ConstructDatabase, PIRProcessDatabase and PIRService commands:

  • After "ID1" expires (5 minutes as configured above), when the same call comes in, the name I fetch is empty.
    图片 3

  • Only after I execute the LiveCallerIDLookupManager.shared.reset and LiveCallerIDLookupManager.shared.refreshPIRParameters methods in the app can I fetch the "ID2" normally

I wonder what is the correct way to do this? Or is there a bug here? From the API comments of LiveCallerIDLookupManager, it seems that is not necessary to execute the refreshPIRParameters method when just modify the name?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions