New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS App gets stuck in the Splash Screen. #4496
Comments
+1 |
@nicolaslopezj do you have the exact same problem? I really want to know if I'm doing something wrong or it is a meteor issue. I will appreciate if you can elaborate to find out whats wrong here :) |
This is happening for me too. I think it might be connected to that #3698 issue as well. |
@conorstrejcek what happens if you do the next?
Does it work? If it doesn't then I think this is a different issue from #3698 |
@Poliuk You are right, it doesn't seem to work on the Meteor servers either. I guess this is a separate issue. I took a look at the Safari Developer Console while attempting to run the app on an iDevice, and I got some exceptions which look like they are related to the useraccounts package -- are you by any chance using that package as well? |
@conorstrejcek yes i'm using it. I'm going to check if it is related... Did you remove it from your project to see what happens? |
@Poliuk My app relies pretty heavily on it so I haven't tried removing it, but it looks like V2.0 was released 3 days ago: https://github.com/meteor-useraccounts/core/milestones. I'm guessing this is the culprit. |
@Poliuk Whoops, V2.0 wasn't released haha, but there was an update. It looks like there was a version change to 1.11.0. |
@conorstrejcek maybe forcing the user accounts version to an older one? Thanks for the hints, I'm going to try ASAP |
@Poliuk I tried downgrading and that doesn't seem to help, but if I take out the iron router package it seems to get past the splash screen (but it doesn't render anything, obviously). |
@conorstrejcek have you tried running those commands with |
@stubailo I just tried this a few times, it looks like the package constraint solver is having issues trying to figure out which packages to include. I will try again later today, but I'm having a lot of difficulty right now. |
@Poliuk @stubailo Ok, so I came up with a minimally reproducible scenario:
The app will hang on the splash screen. Let me know if this happens for you as well. The app works fine before I add the |
@conorstrejcek I've tried deleting the caché in Xcode but it doesn't solve the problem.
So in case is a bug related with the state of my computer, we haven't found out how to solve it. After that, I've tried with:
The result is the same... My App doesn't go further from the Splash Screen. I am now trying to reproduce this in another mac to see what happens. @conorstrejcek if you check https://github.com/iron-meteor/iron-router/releases Iron router released their v1.0.8 two days ago, in any case, i'm using the v1.0.7 in my project (or at least my .meteor/local/versions has this written) so I think this is not my problem. |
@Poliuk The issue happened for me regardless of the version of iron:router. I figured out a way to fix it (at least in my case): I was using
Then it got past the splash screen and everything worked fine. I don't really understand why this fixed it, because I didn't need to have a route set up for it to work on Web or Android. Hopefully this helps. |
@conorstrejcek I'm happy to hear you have solved your problem 😄 But still I think I'm facing a different bug not related with iron:router. I'll keep posting here! thanks for your help |
+1 after deleting my app in order to work on #3698 when I reload it onto my phone the app gets stuck on the Splash Screen. Update: |
+1, stuck with the splash screen and nothing happens afterwards. The console output from xcode doesn't show anything abnormal. |
+1 Facing the same problem. Any news? |
+1 same here, it was originally an issue with not having any routes set up in |
I dont know if somebody helps this, but I put
into my |
I was able to make it work by
|
I was able to get past this by running the simulator in production mode:
But since the Xcode 7 beta allows you to run apps on a physical device without an Apple Developer subscription, I've stopped using the Simulator entirely (though it might still be useful to test your app designs on smaller/older devices) |
@mediatainment Thanks for sharing your solution, it fixed our problems with the Splash Screen. We just had to add this
In our |
+1 for this!
Such life saver! |
+1. Saved my bacon |
Could you try if this is still an issue with the latest Meteor 1.3 beta? #6266 Closing this issue in the meantime, please reopen it if you feel this needs further discussion. |
This solution works for 1.3+ as well. Thanks for the help everyone! |
Mobile app load "/" route using iron:router, you can trick the router to get to the route you want by default using
This worked perfectly to me, i hope this will help ! |
@conorstrejcek that helped me dude!! thanks! |
Since around 3 days ago my meteor App doesn't work anymore, the App only shows the Splash Screen. I'm testing it in 3 environments: myapp.meteor.com, a server with meteor running, and a server with node where I install the App after building it.
I have my code in a repo, and even when I checkout to a previous version the App doesn't work. I'm wondering if there is something new in the meteor.com severs that is crashing my app (discarted update at the end of the post), or if after any update my meteor is building broken Apps.
If I access to myapp.meteor.com via web it works perfectly, but the App doesn't do anything apart from showing the Splash Screen.
What I do is simple:
It doesn't work either with
At the beginning I thought this was related with my server installation, but then I went back to the meteor.com enviroment and I found that everything was crashing also there. This is why I discarted this problem: #3698
UPDATE A member of my team had and old version of the App installed in his phone. It is pointing to the same myapp.meteor.com and it works. But if I checkout my repo to the same commit, and I build a new App it doesn't work. What makes me thing that my meteor CLI has something new and it's creating broken Apps.
The text was updated successfully, but these errors were encountered: