jonjomckay / fritter

A privacy-friendly Twitter frontend for mobile devices
https://fritter.cc
MIT License
1.4k stars 81 forks source link

[BUG] Installation of Fritter beta versions, latest ci build from github fails #739

Closed nannadroid closed 1 year ago

nannadroid commented 1 year ago

Describe the bug When I install beta and ci build versions from github, installation fails (message screenshot is attached).

I first tried installing beta9 apk files from releases page. But all of them say "App not installed". Then, i tried according to this suggestion. Still got installation failed message.

All this is to install fix for "long tweets getting cut off", bug #711.

Please help fix this.

To Reproduce Steps to reproduce the behavior:

  1. Go to releases
  2. Download appropriate apk, and install
  3. You'll see error "App not installed"

Screenshots Attached

Device OnePlus6, Android 11, OxygenOS 11.2.2 Fritter: v3.0.0-beta6+300000772 Screenshot_20230524-005825__01

j-fbriere commented 1 year ago

Have you change the setting to allow your device to install an apk file? Reference: OXYGENOS 11 : HOW TO INSTALL APPLICATION USING APK You should allow the My Files application (or any other file explorer application you're using) to install unknow apps. Then, after downloading and unzipping the apk file, you should try to install it from the My Files application (or any other file explorer application you're using).

nannadroid commented 1 year ago

Have you change the setting to allow your device to install an apk file? Reference: OXYGENOS 11 : HOW TO INSTALL APPLICATION USING APK You should allow the My Files application (or any other file explorer application you're using) to install unknow apps. Then, after downloading and unzipping the apk file, you should try to install it from the My Files application (or any other file explorer application you're using).

Yes, i have done. I use Solid explorer and have enabled "Install unknown apps". Not sure if anything else is needed. Screenshot_20230528-205705

nannadroid commented 1 year ago

And, is there fritter installation log, that can help understand what is wrong?

j-fbriere commented 1 year ago

About the logs, unfortunately the only way to look at the installation log is to use logcat. To achieve that, the device must be connected to a computer where the Android SDK is installed.

Maybe you could try one thing: uninstall the old fritter before installing the new version of fritter with the latest apk file.

Important note: Before uninstalling fritter be sure to export your settings/subscriptions/groups, because those will be deleted when the app is uninstalled. After the installation of the new version is finished, you will then be able to import your settings/subscriptions/group back to the app.

nannadroid commented 1 year ago

Ok, I can try uninstalling and installing fresh apk. I have exported the data and confirmed that json file indeed has 'saved' tweets, up to today. I have lot of saved tweets. Does import work flawlessly? I remember seeing an issue raised regarding this.

This is the reason I haven't tried uninstalling until now 🙂

j-fbriere commented 1 year ago

I know that the export/import of settings/subscriptions/groups works well. The only caveat is that the blue checks of the blue check users do not appear for the subscriptions list after the import (you can still see the blue check on the user's profile or in their timeline). It's a minor inconvenience I think.

I don't save tweets, so I have no experience with the export/import of saved tweets.

nannadroid commented 1 year ago

I tried importing in Quacker, fork of Fritter. Saved tweets weren't imported at all. So, i can't trust Fritter as well, unless someone confirms. Seems there is no solution for my problem 😐

nannadroid commented 1 year ago

The only caveat is that the blue checks of the blue check users do not appear for the subscriptions list after the import (you can still see the blue check on the user's profile or in their timeline). It's a minor inconvenience I think.

Interesting!! In my version, blue ticks aren't visible anyways 😁 but doesn't matter for now

j-fbriere commented 1 year ago

I imported saved tweets successfully in Quacker. So I cannot reproduce the problem you encountered. You'll have to provide more details about the import problem. 1- Which Quacker version are you using? (latest ci build)? 2- How many saved tweets did you try to import? 3- Does exported tweets section of the json file looks like this:

{
  ...,
  "tweets": [
    ...,
    {
      "id": "some_id",
      "content": "some_content",
      "user_id": "some_user_id"
    }
  ]
}
nannadroid commented 1 year ago

Hi,

  1. i used latest released version (not ci build)
  2. i have more than 600 tweets saved. is there a limit?
  3. exported json has the same format; has 'id' and 'content'; no 'user_id', but somehthing like this 'in_reply_to_user_id_str'
j-fbriere commented 1 year ago

Can you provide an exported json file with only one or two saved tweets in it, so that I can debug the problem?

nannadroid commented 1 year ago

sorry for the delayed response. I did some digging and found that it was my fault all along!!

  1. about importing saved tweets: it works in both Fritter and Quacker. After importing, i was seeing the saved tab immediately. This doesn't work. After I closed the app and then open, I could see all the tweets.
  2. with this, i come to main issue of installation fail: i uninstalled Fritter and installed latest version (beta9), now it got installed.

So, all issues solved. Big thanks for patient reading and support!