-
公开(公告)号:US20210349771A1
公开(公告)日:2021-11-11
申请号:US16867083
申请日:2020-05-05
Applicant: salesforce.com, inc.
Inventor: Justin HORST , Jason FOREMAN , Wesley PETER , Tyson BUNCH , Greg LOYD
Abstract: The present disclosure is directed to systems and methods for generating an API caching library using a shared resource file. For example, a method may include: receiving, at a first platform, a shared resource file comprising metadata for declaratively deriving an application programming interface (API) caching library for a native application operating on the first platform and a corresponding application related to the native application for a second platform; parsing the shared resource file to extract the metadata at run-time of the native application; declaratively deriving the API caching library based on the extracted metadata, the declaratively deriving the API caching library comprising creating a plurality of objects that represent respective API endpoints of the API caching library; and executing a function of the native application based on at least one of the API endpoints.