I have an icon within my app that links to my fan page. It was working fine before but since around 2 weeks ago, whenever someone clicks on the icon, they get to an error page saying: “Trouble Loading Timeline”. It also says “Tap to retry” but nothing happens when they do.
Although I’m using the same source code for both (because of Unity3D engine), this happens only for Android, not iOS. I didn’t have this issue after my last update but it started happening suddenly a few weeks after. I didn’t make any changes in my source code in the last few weeks.
Would anyone know what the issue is and how to fix it?
Thanks
Related
Hello I am new to flutter and was doing an ecommerce app while importing images URLs from firebase SOMETIMES while calling the "Image.network" gives me this error but only sometimes, and with different picture URLs(every time it is random and sometimes it loads every picture)
which is weird I don't know how to solve it .
Here is the exception it gives.
Here is mobile emulator picture
as U can see it's different every time.
There appears to be a few solutions that people have come up with. On the Flutter GitHub issues page this "hack" appears to have helped some people:
Potential Solution
I am working on one Xamarin Android project which is using MvvmCross version 3.5.1. I am facing one issue which we thought might be because of MvvmCross set up failure. App is basically for both platforms Android and iOS. But, i am facing an issue specifically for Android. App is quite old and in development from last 3-4 years and never upgraded to latest released versions of MvvmCross. Updating MvvmCross is last option for me. But before that I want to fix this issue by knowing it's root cause and way to reproduce it.
Scenario:
1) App installed on Android device, Login is done.
2) App moved to background.
3) After 3-4 days, app resumed by clicking on app launcher
icon and stuck on splash screen.
4) App started working again when
force stop from phone setting
I am unable to reproduce this issue without putting it in the background for more than 3-4 days. Can you please suggest a few approaches to know the root cause and steps to reproduce this issue without putting the app in background for more than 4 days.
Below Logs printed from MvvmCross and app freezes on the splash screen. log statement in bold "No view model type finder available - assuming we are looking for a splash screen - returning null" is printed 3-4 times and then app stuck on splash screen. Even though app stuck on splash screen. push notifications are received by an application.
Setup: PlatformServices start"
Setup: MvvmCross settings start"
Setup: Singleton Cache start"
"mvx": "No view model type finder available - assuming we are looking for a splash screen - returning null"
"mvx": "No view model type finder available - assuming we are looking for a splash screen - returning null"
"mvx": "No view model type finder available - assuming we are looking for a splash screen - returning null"
Please help me to know why the above log statement in bold is getting printed for 3-4 times and why logs from _setup.InitializeSecondary() are not printed, and then app stucks on splash. Looks like setup hung in between because of some deadlock or race condition. It will really help me if you have any suggestions to know possibilities to know the root cause and a way to reproduce this issue. Thanks in advance.
Updated:
We are able to reproduced this scenario by commenting InitializeSecondary() call from MvxAndroidSetupSingleton->InitializeFromSplashScreen() and app stuck on Splash screen. please suggest fixing this splash screen stuck from app level code. Basically, we don't want to modify MvvmCross code and wanted to fix from app code. Your help is appreciated. As per logs, a line of code _setup.InitializeSecondary(); in below method from MvxAndroidSetupSingleton.cs is not executed. This issue is getting reproduced only after keeping the application in the background for more than 4-5 days. First i am trying to know why this is happening in this particular case and then solution for it. Thanks in advance
Note: I am using Android Foreground service in my application
public virtual void InitializeFromSplashScreen(IMvxAndroidSplashScreenActivity splashScreen)
{
lock (LockObject)
{
_currentSplashScreen = splashScreen;
if (_initializationStarted)
{
if (_initialized)
{
_currentSplashScreen.InitializationComplete();
return;
}
return;
}
_initializationStarted = true;
}
_setup.InitializePrimary();
ThreadPool.QueueUserWorkItem(ignored =>
{
_setup.InitializeSecondary();
lock (LockObject)
{
_initialized = true;
if (_currentSplashScreen != null)
_currentSplashScreen.InitializationComplete();
}
});
}
We have made a lot of improvements to app startup in MvvmCross. So chances are that your issue has been solved in a newer version.
Although, since it is saying "No view model type filder available", it will probably mean that the startup procedure hasn't finished or is stuck doing something and cannot find the next ViewModel it wants to continue to.
Android will memory clear an app if it is long in the background and or unused. This means that the mvvm framework loses all of its references in memory as the same for your IOC Container. Normally an mvvm framework should be able to handle this but in my experience sometimes you have to manually give it a push.
how have you been?
Here, my new oddest problem showed up today. I have these magnificent inputs with type button, all around my web app, and this app is meant to run perfectly over mozilla firefox. Everything went well until today, that I realized that some buttons are not working well.
They are rendered according CSS rules, and they are not disabled, cause the data is already validated, but when someone tries to submit the info, nothing happens, not even the normal behaviour of the button getting marked with the dotted line around it's inner text.
The workaround: to pinch zoom the button, and then I can click it, but it is really annoying to do, because some unexperienced users have told me it doesn't work, and I end up giving them an introductory course about a lot of functionalities of mozilla ff, they don't even care.
Please help!!!
We are developing an app using jQuery mobile and phone gap. Everything seems to be working fine but when running the app on a connected Android phone we see tons of errors like this in the Eclipse logcat
:0: GetPTLAFormat: invalid format
Any idea what this is or how to resolve it?
I believe it has something to do with a new standard for disabling auto events. There is a similar question about Embedding iframes where they are having an issue with auto-playing videos.
I have had the same issue with a jquerymobile cordova app. My index page is a splash page and when cordova has successfully loaded it navigates to my main application page. I was using jQuery.mobile.navigate(myPage);. This gave me about 20 :0: GetPTLAFormat: invalid format errors. I tried jQuery.mobile.changePage instead and got only 3 errors.
As the page transition happens without any input from the user I tried giving my splash screen image an onclick even to transition instead. Not very practical for the final application, but just as a test. I still get the errors with navigate, however with an onclick and changePage I do not get any errors.
My conclusion is that the new standard doesn't allow automatic playing and transitioning etc. I still haven't figured out a way to get around this but the solution seems to be to have a user trigger the event and it solves the problem.
To hide it from Eclipse logcat, enter the following as a filter/search term in logcat:
^(?!.*(GetPTLAFormat)).*$
I'm working on a mobile version of the chatroom my website (just a website, not an android application), and the first time I loaded that page on my Motorola DROID everything acted as expected:
click on the input field to select it
tap the same field again to open up the keyboard
start typing
auto complete words are suggested gray-on-white right above the keyboard
After a few refreshes of the page step 4 does not happen! There is no white bar above the keyboard, and no suggestions come up.
I cannot figure out what may be causing it, or how to test it. I downloaded Dolphin browser, and the keyboard behaves correctly the first time, but not the following times (just like default).
All suggestions are welcome.
Edit Apr 8:
As requested a link to the website: http://phantasyrpg.com will redirect to http://mobile.phantasyrpg.com -- you will need to register and visit the "Tavern" from the menu on top left.
Edit Apr 10:
I've created a very empty example that has the same issue:
http://mobile.phantasyrpg.com/test-chat.html I'm also noticing this on other pages as long as the URI is the same -- there's this issue. If there's a GET parameter that's different, suggestions come up correctly.
I'm wondering if there's some setting in my Apache that sends some silly or broken header. But I don't know much about headers.
I've had this happen before... that are workarounds when using a WebView, but AFAIK there's no way to fix this in just a plain site. But basically, there's some sort of cache or something that exists in the browser tab. At first (new tab) auto-complete always works for me. After staying on the same domain in the same tab for a while, it all crashes. For me specifically, after this point the number '7' on the keyboard will sometimes make the browser segfault =\
If you look around the net, you will notice countless bugs filed for the issues showing up in almost all major websites. All complaining the auto-complete stops on Android. I'm pretty it's global, and unstoppable.