Giter Site home page Giter Site logo

dtaalbers / ionic-example-app Goto Github PK

View Code? Open in Web Editor NEW
60.0 60.0 31.0 7.63 MB

A Ionic Example App (previously known as ionic 2 examples). Contains different examples on how to use the Ionic Framework

Home Page: https://dtaalbers.com

License: MIT License

TypeScript 50.92% HTML 15.81% CSS 13.23% JavaScript 1.42% C# 18.62%
api app dotnet-core dotnetcore ionic ionic-framework ionic2-examples

ionic-example-app's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ionic-example-app's Issues

Errors during build

Here are the errors when I tried to build:

--- this part worked fine ---
Thomas@Sammy MINGW64 ~/ionic2/ionic-2-examples/file-transfer-upload (master)
$ ionic state reset
Removed platforms and plugins
Attempting to restore your Ionic application from package.json
Restoring Platforms
Restore platforms is complete
Restoring Plugins

cordova plugin add cordova-plugin-device
cordova plugin add cordova-plugin-console
cordova plugin add cordova-plugin-whitelist
cordova plugin add cordova-plugin-splashscreen
cordova plugin add cordova-plugin-statusbar
cordova plugin add ionic-plugin-keyboard
cordova plugin add cordova-plugin-camera
cordova plugin add cordova-plugin-file-transfer
cordova plugin add cordova-plugin-file
cordova plugin add https://github.com/wymsee/cordova-imagePicker
Restore plugins is complete
Ionic state restore completed
Ionic reset state complete
--- end ---

--- this next part created many errors ---
$ ionic run android

Running 'run:before' gulp task before run
[00:59:24] Starting 'clean'...
[00:59:24] Finished 'clean' after 54 ms
[00:59:24] Starting 'build'...
[00:59:24] Starting 'sass'...
[00:59:24] Starting 'html'...
[00:59:24] Starting 'fonts'...
[00:59:24] Starting 'scripts'...
app\theme\app.variables.scss
Error: File to import not found or unreadable: globals.core
Parent style sheet: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/app/theme/app.variables.scss
on line 7 of app/theme/app.variables.scss

@import 'globals.core';
^

[00:59:24] Finished 'sass' after 108 ms
[00:59:24] Finished 'html' after 117 ms
[00:59:24] Finished 'scripts' after 119 ms
[00:59:24] Finished 'fonts' after 144 ms
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/ionic-angular/components/img/img.d.ts(24,14): Error TS1005: '=' expected.
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/ionic-angular/components/img/img.d.ts(24,20): Error TS1005: ';' expected.
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/ionic-angular/components/img/img.d.ts(25,14): Error TS1005: '=' expected.
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/ionic-angular/components/img/img.d.ts(25,21): Error TS1005: ';' expected.
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/ionic-angular/components/label/label.d.ts(11,14): Error TS1005: '=' expected.
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/ionic-angular/components/label/label.d.ts(11,18): Error TS1005: ';' expected.
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/ionic-angular/components/menu/menu-toggle.d.ts(13,14): Error TS1005: '=' expected.
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/ionic-angular/components/menu/menu-toggle.d.ts(13,22): Error TS1005: ';' expected.
...

TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/rxjs/scheduler/VirtualTimeScheduler.d.ts(30,68): Error TS1005: ',' expected.
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/rxjs/scheduler/VirtualTimeScheduler.d.ts(30,76): Error TS1005: ')' expected.
TypeScript error: C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload/node_modules/rxjs/scheduler/VirtualTimeScheduler.d.ts(31,1): Error TS1128: Declaration or statement expected.
[00:59:27] Finished 'build' after 2.87 s
[00:59:27] Starting 'run:before'...
[00:59:27] Finished 'run:before' after 6.64 μs

• You're trying to build for android, but don't have the platform installed yet.
∆ Installing android for you.
√ Installed platform android
Running command: "C:\Program Files\nodejs\node.exe" C:\Users\Thomas\ionic2\ionic-2-examples\file-transfer-upload\hooks\after_prepare\010_add_platform_class.js C:/Users/Thomas/ionic2/ionic-2-examples/file-transfer-upload
add to body class: platform-android
Running command: cmd "/s /c "C:\Users\Thomas\ionic2\ionic-2-examples\file-transfer-upload\platforms\android\cordova\run.bat""
ERROR: Error: Please install Android target: "android-22".

Hint: Open the SDK manager by running: C:\adt\sdk\tools\android.BAT
You will require:

  1. "SDK Platform" for android-22
  2. "Android SDK Platform-tools (latest)
  3. "Android SDK Build-tools" (latest)
    ERROR running one or more of the platforms: Error: cmd: Command failed with exit code 2
    You may not have the required environment or OS to run this project

Thomas@Sammy MINGW64 ~/ionic2/ionic-2-examples/file-transfer-upload (master)
$ ^C

Thomas@Sammy MINGW64 ~/ionic2/ionic-2-examples/file-transfer-upload (master)
$ ionic add android

Bower error, check that "undefined" exists,
or try running "undefined" for more info. (CLI v2.0.0-beta.25)

Your system information:

Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
OS:
Node Version: v6.9.1


Not allowed to load local resource

Hi,

thanks for your examples, they're really cool.
I'm having a problem with respect to showing the images though.
They simply do not appear. When I check the ADB log, it says:

I/chromium(16683): [INFO:CONSOLE(0)] "Not allowed to load local resource: file:///data/data/com.ionicframework.filetransferexample106519/cache/tmp_IMG_20160729_1028521380690066.jpg"

Have you seen anything like that? I'm running on an Android device.

Cheers,
Leonardo

app blocks, progress bar remains at 0%

hello, on the page Upload example, by selecting one or more images from the library, the app blocks, progress bar remains at 0% on IOS device , and nothing happens, and the mignatures is not displayed, can you m ' help please?

add typings

adding typings removes some log errors

cd FileTransferExample/source
typings install cordova --save --ambient
typings install cordova/plugins/filetransfer --save --ambient
typings install cordova/plugins/filesystem --save --ambient

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.