Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

extend @HttpsClient to support resName (library project) #1028

Copy link
Copy link
@toshe

Description

@toshe
Issue body actions

related: #20, #306

We tried creating a custom HttpClient in our library project. BTW today is 5th June - check out https://www.resetthenet.org/ - makes you want to secure all your apps :)

@HttpsClient(trustStore=R.raw.mycacerts,
        trustStorePwd="changeit2")
    HttpClient httpsClient;

Using the latest 3.1 SNAPSHOT we cannot compile because the Resource is in a library project and since resources in library projects are not final static we cannot specify our truststore directly as a resource (in this case R.raw.mycacerts).

https://github.com/excilys/androidannotations/wiki/Library-projects#referencing-ids-by-name suggests referencing the resources by resName, however that is mostly possible for layouts but not for Annotations such as @HttpsClient. Can we please add a support for resName as well? resName would reference the truststore and/or the keystore resources.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.