Feature #2580

HTTP/HTTPS pref in Kerplapp

Added by hans about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:11/20/2013
Priority:NormalDue date:
Assignee:pd0x% Done:

0%

Category:-
Target version:0.1 - "Kerplapp"
Component:

Description

have a preference to turn off HTTPS in Kerplapp so it can be used in F-Droid now. We can remove it later once FDroid works well with our generated repos' HTTPS

Associated revisions

Revision 074ef19b
Added by hans about 4 years ago

add a template Settings activity set up with "Use HTTPS" pref

refs #2580

Revision 0049780c
Added by pd0x about 4 years ago

Only enable HTTPS when the use_https pref is true.

Presently the F-droid client doesn't support self signed repos. To allow use
immediately the HTTPS support in Kerplapp has been made optional and defaults to
'off'. This default will change when the F-droid client can support self signed
HTTPS repositories.

refs #2580

Revision 50ce64e1
Added by hans about 4 years ago

refresh IP and repo URL when changing HTTPS pref or repo setup

#2580

History

#1 Updated by hans about 4 years ago

Accept my commit and add this bit where you need it, and you're good to go:

        SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
        boolean useHttps = prefs.getBoolean("use_https", false);

#2 Updated by hans about 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF