Questions tagged [universal]

621 questions
5
votes
2 answers

iOs device-specific resources not working - ~iPad loading default XIB - universal app

I'm making a universal app based on the Utility App template. I've selected a universal app and the MainView.xib and MainView~iPad.xib work properly on both device types. On the iPad2, when I switch to the FlipsideView, it loads FlipsideView.xib…
5
votes
2 answers

Convert simple iPhone app to Universal app

I have very simple iPhone app, which uses just UIButtons, UIlabels, UITableView. without any custom controllers and graphics. How can I convert app to universal with that UI?
Tunyk Pavel
  • 2,473
  • 6
  • 31
  • 46
5
votes
1 answer

Trying To Make My App Universal

I have two HTML files on my www folder using the PhoneGap framework. The iPhone/iPod one(/mobile/index.html) and the iPad one(/index.html). So I'm using this code at my AppDelegate.m: + (NSString*) startPage { if (UI_USER_INTERFACE_IDIOM() ==…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
5
votes
1 answer

angular 2 : possible to combine app shell together with universal rendering

I have a standard angular-cli generated project. Does it make sense to create both an app shell for it and, also combine it with ng-universal's server rendering technique ? If so , then what's the best way to go about it ?
Aman Gupta
  • 7,883
  • 5
  • 16
  • 24
5
votes
0 answers

Angular 4 - universal hide HTTP requests

Is it possible to do server side rendering with angular and hide the HTTP requests for the user, aka do the http requests on the server side ? I have created an api but I do not want to expose it to the outside world, I do not want that you can see…
5
votes
0 answers

Angular CLI, add Universal / server-side rendering

I have build an application based on angular-cli version 1.0.0-beta.24. I wanted to add universal based on tutorial from https://universal.angular.io/, but it wasn't working at all. I also tried universal-cli from…
lemek
  • 799
  • 10
  • 21
5
votes
0 answers

Deploy Angular 2 Universal Starter to Azure App Service

Has anyone downloaded the Angular 2 Universal Starter, executed "npm run build", that creates a client folder and a server folder, and then deployed it to Azure? If so I really would like some pointers on how to proceed, because how hard I google…
5
votes
1 answer

Webpack 2 Code Spliting with Server Side Rendering and React-Router-v4

Using webpack2.2.0-rc1 and react routerv4, and using this gist to make code spliting to work, which states the following function asyncComponent(getComponent) { return class AsyncComponent extends React.Component { static Component = null; …
CESCO
  • 7,305
  • 8
  • 51
  • 83
5
votes
3 answers

Universal rendering for react app based on create-react-app

I have an app based on the create-react-app starter kit and need to switch to universal/server rendering due to SEO issues. Is there an easy way or example of taking the create-react-app teamplate and adding or modifying it to support universal…
Gai
  • 325
  • 1
  • 5
  • 8
5
votes
1 answer

Separate Settings in Universal iOS App?

I'm working on an universal iOS app, but a few user settings don't make as much sense on the iPad. Can I specify a separate Settings.bundle or Root.plist for use on the iPad?
nschum
  • 15,322
  • 5
  • 58
  • 56
5
votes
1 answer

Using StatusBar in Windows Universal App

I'm trying to retrieve the StatusBar object from within the view constructor using the following code: bool mobile = Windows.Foundation.Metadata.ApiInformation.IsApiContractPresent("Windows.Phone.PhoneContract",1,0); if(mobile) { var statusbar =…
optlink
  • 55
  • 1
  • 3
5
votes
4 answers

iPhone check for a constant at runtime in universal app

I'm making a universal iPad/iPhone app which can use the iPad's VGA out connector to mirror the content of the app on an external screen. However, the iPhone does not have this functionality. given the following code, #ifdef…
joshue
  • 213
  • 3
  • 9
4
votes
1 answer

Making universal apps without Interface Builder

I'm using XCode 4.2, with iOS 5, and would like to make a universal app, not using Interface Builder, as outlined in this post, not using a MainWindow.xib. I would also like to separate my iPhone and iPad code, using the technique outlined in Kotan…
coco
  • 2,998
  • 1
  • 35
  • 58
4
votes
0 answers

Ignoring BEFORE_APP_SERIALIZED Exception: TypeError: Converting circular structure to JSON

I have an Angular application that uses Angular Universal to do Server Side Rendering, and the TransferState module to pass the state of the application from the server to the client. I get this warning log on certain pages: Ignoring…
RTYX
  • 1,244
  • 1
  • 14
  • 32
4
votes
3 answers

How do I make Angular Universal wait for API response? I used transferState, resolve on route, etc

I'm trying to make Angular wait for the API response but I'm not having success. I used the TransferState, it works, but the result doesnt appear in the View Source. Angular still flickers to show the response after the View is loaded. I used the…
Jeannuel
  • 71
  • 5