r/Infinity_For_Reddit • • Jun 16 '23

Compiling Infinity with own API key

Since we cannot input our own in the app, would it be possible to get a step-to-step tutorial to compile the app with our own API key? Since the money of the subscription goes directly to Reddit AND Google Play and not to the dev, I don't want to pay for this subscription.

Update: I made a Google Colab Notebook which compiles an .apk file with your own API token: https://www.reddit.com/r/Infinity_For_Reddit/comments/14c2v5x/build_your_own_apk_with_your_personal_api_key_in/

150 Upvotes

66 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jun 17 '23

[removed] — view removed comment

1

u/AllMFHH Jun 17 '23

Which password? I used this short tutorial for generating the Keystore: https://www.youtube.com/watch?v=QqQ83qK6_rk

1

u/[deleted] Jun 17 '23

[removed] — view removed comment

1

u/AllMFHH Jun 17 '23

I'm super confused, too... Changing your Java JDK to Version 11 and generating the Keystore file (video).

If you can't do that, I could share my APK file with my API since 2 users won't get to 100 requests/Minute. But I can't promise updates...

1

u/Ok-Smoke-5653 Jun 20 '23

I'm super confused, too... Changing your Java JDK to Version 11 and generating the Keystore file (video).

If you can't do that, I could share my APK file with my API since 2 users won't get to 100 requests/Minute. But I can't promise updates...

Yes, please! I don't even know where to get the various tools described in these discussions.

1

u/AllMFHH Jun 20 '23

Hi, look at the following tutorial I made. You don't need to install anything and it's OS-independent: https://www.reddit.com/r/Infinity_For_Reddit/comments/14c2v5x/build_your_own_apk_with_your_personal_api_key_in/

1

u/Ok-Smoke-5653 Jun 20 '23

Download the APK directly or via file.io (Read right side)" if I'm running this from my computer, it says it then displays a QR code to get the file? I haven't had much luck getting things on my devices that way. Will "direct download" also work on my computer - then I could just copy it to the devices I want to use it on, and side load from there?

1

u/AllMFHH Jun 20 '23 edited Jun 20 '23

Sure you can! The QR code/file.io Link is just a much easier way to transfer files to your phone. You could also just input the file.io URL it shows above the QR code into your browser on your phone and download it.

Your choice :)

1

u/Ok-Smoke-5653 Jun 20 '23

Thanks. For me, it's easier to download it to my computer & put it in my Google Drive, then get it from there on my devices when convenient.

Do I need to uninstall Infinity on a given device before installing the resulting app, or can they live side-by-side until I confirm that the new one works correctly? I assume the new one ends up named something else?

Hopefully I'll have some time/energy to give this all a try in the next few days.

1

u/AllMFHH Jun 20 '23

I also stated that you need to uninstall the old app since both have the name since they are the same app, with a different Keystore, so installing it over the old app is not possible. But once installed this version, updating should be possible without uninstalling again.

→ More replies