Automatically increment the build number every time the project is compiled.
- Select your target in your Xcode project
- Select the Build Phases tab
- Add a New Run Script Phase entry (via the + sign)
- Copy the snippet below into the shell editor
| import React from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import { Provider } from 'react-redux'; | |
| import store from './store'; | |
| const rootEl = document.getElementById('root'); | |
| // Create a reusable render method that we can call more than once | |
| let render = () => { | |
| // Dynamically import our main App component, and render it |
| // derived from https://www.veasoftware.com/posts/uipageviewcontroller-in-swift-xcode-62-ios-82-tutorial | |
| import UIKit | |
| @UIApplicationMain | |
| class AppDelegate: UIResponder, UIApplicationDelegate { | |
| var window: UIWindow? | |
| func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
| window = UIWindow(frame: UIScreen.mainScreen().bounds) | |
| window!.rootViewController = ViewController() |
I hereby claim:
To claim this, I am signing this object:
| import {Componente} from '@angular/core'; | |
| import {Platform, ionicBootstrap} from 'ionic-angular'; | |
| import {PushwooshService} from './services/pushwoosh.service'; | |
| @Component({ | |
| template: '<ion-nav [root]="rootPage" #ionNav></ion-nav>', | |
| }) | |
| export class MyApp { | |
| constructor(private platform:Platform, |
| import {Injectable} from "@angular/core"; | |
| import {Device} from 'ionic-native'; | |
| declare var cordova : any; | |
| var PUSHWOOSH_APP_ID = 'XXXXX-XXXXX'; | |
| var GOOGLE_PROJECT_NUMBER = 'XXXXXXXXXXXXX'; | |
| // For iOS, open your project .pList file in xCode and add: | |
| // 1) "Pushwoosh_APPID" key with the Pushwoosh App Id value |
| git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit" |
| <? | |
| /** | |
| * @package Helpers | |
| * @category Concrete | |
| * @author Andrew Embler <[email protected]> | |
| * @copyright Copyright (c) 2003-2008 Concrete5. (http://www.concrete5.org) | |
| * @license http://www.concrete5.org/license/ MIT License | |
| */ | |
| /** |