Comments (8)
Hello !
I would like to know which version of c8osdkangular and angular are you using.
Could you share me your package.json and your tsconfig.json ?
Actually I'm not able to reproduce this issue using the following configuration with ionic-app-script 2.0.1
https://github.com/CharlesGrimont/sample-c8osdkangular
from c8osdk-angular.
Thx for your response. Here's the package.json. I notice that I doesn't use the last version of angular compiler and ionic script app. I will test the build command with them.
{
"name": "myProject",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"watch": "ionic-app-scripts watch",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve",
"test": "karma start ./test-config/karma.conf.js",
"test-ci": "karma start ./test-config/karma.conf.js --single-run --browsers PhantomJS"
},
"dependencies": {
"@angular/common": "4.0.2",
"@angular/compiler": "4.0.2",
"@angular/compiler-cli": "4.0.2",
"@angular/core": "4.0.2",
"@angular/forms": "4.0.2",
"@angular/http": "4.0.2",
"@angular/platform-browser": "4.0.2",
"@angular/platform-browser-dynamic": "4.0.2",
"@ionic-native/core": "3.6.1",
"@ionic-native/splash-screen": "3.6.1",
"@ionic-native/status-bar": "3.6.1",
"@ionic/storage": "2.0.1",
"@ngx-translate/core": "^7.0.0",
"@ngx-translate/http-loader": "^0.1.0",
"c8osdkangular": "2.1.30",
"ionic-angular": "3.1.1",
"ionicons": "3.0.0",
"rxjs": "5.1.1",
"sw-toolbox": "3.4.0",
"zone.js": "^0.8.10"
},
"devDependencies": {
"@angular/cli": "^1.1.1",
"@angular/compiler-cli": "^2.3.1",
"@ionic/app-scripts": "1.3.4",
"@types/jasmine": "^2.5.52",
"@types/node": "^6.0.42",
"angular2-template-loader": "^0.6.2",
"codelyzer": "~2.0.0-beta.1",
"html-loader": "^0.4.5",
"jasmine": "^2.6.0",
"karma": "^1.7.0",
"karma-chrome-launcher": "^2.1.1",
"karma-jasmine": "^1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-phantomjs-launcher": "^1.0.4",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "^0.0.31",
"karma-webpack": "^2.0.3",
"ts-loader": "^2.1.0",
"ts-node": "1.2.1",
"tslint": "^4.3.0",
"typescript": "~2.2.1"
},
"description": "MyApp: An Ionic project",
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"ionic-plugin-keyboard"
],
"config": {
"ionic_copy": "./config/copy.config.js",
"ionic_www_dir": "../DisplayObjects/mobile"
},
"cordovaPlatforms": []
}
from c8osdk-angular.
and here's the ts.config
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"dom",
"es2015"
],
"module": "es2015",
"moduleResolution": "node",
"sourceMap": true,
"target": "es5"
},
"exclude": [
"node_modules",
"src/**/*.spec.ts"
],
"compileOnSave": false,
"atom": {
"rewriteTsconfig": false
}
}
from c8osdk-angular.
Don't forget to update c8osdkangular to 2.1.35
I'have reproduced your issue using your package.json,
You must update your dependencies, and particularly angular and ionic-app-script
Let me know if this works
from c8osdk-angular.
As there was no response, I consider this issue as closed.
from c8osdk-angular.
This is still happening in 2.1.43. But also the 2.1.53 has a lot of errors and it is not working with Ionic 3.9.2.
Trying with the following package.json doesnt work either:
{ "name": "Produccion", "author": "IECISA", "description": "Servicios de Producción - RTVE", "private": true, "scripts": { "build": "ionic-app-scripts build", "clean": "ionic-app-scripts clean", "lint": "ionic-app-scripts lint", "ionic:build": "npm run build", "ionic:serve": "npm run serve", "ionic:lint": "npm run lint" }, "dependencies": { "@angular/common": "4.4.4", "@angular/compiler": "4.4.4", "@angular/compiler-cli": "4.4.4", "@angular/core": "4.4.4", "@angular/forms": "4.4.4", "@angular/http": "4.4.4", "@angular/platform-browser": "4.4.4", "@angular/platform-browser-dynamic": "4.4.4", "@ionic-native/core": "4.3.1", "@ionic-native/splash-screen": "4.3.1", "@ionic-native/status-bar": "4.3.1", "@ionic-native/deeplinks": "4.3.1", "@ionic-native/app-availability": "4.3.1", "@ionic-native/in-app-browser": "4.3.1", "@ionic-native/background-mode": "4.3.1", "@ionic/storage": "^2.1.3", "c8osdkangular": "2.1.43", "ionic-angular": "3.8.0", "ionicons": "3.0.0", "moment": "2.18.1", "rxjs": "5.4.3", "sw-toolbox": "3.6.0", "zone.js": "0.8.18" }, "devDependencies": { "@ionic/app-scripts": "3.1.2", "typescript": "2.3.4", "elementtree": "0.1.6" }, "config": { "ionic_copy": "./config/copy.config.js" } }
from c8osdk-angular.
Can you try with "c8osdkangular": "2.1.56" ?
from c8osdk-angular.
Just tried it with 2.1.58, it works fine using ionic serve, and also ionic cordova build android --release --prod. Only a few tslint warnings about unused imports in the code (¿Could you clean that?), apart from that everything seems to work fine. Thank you.
from c8osdk-angular.
Related Issues (20)
- Must implement wkWebview support
- finalizeInit must return an unique promise
- Add support for pouchDB 7 HOT 1
- Improve errors management
- Refactor sdk HOT 1
- Must remove old import of @angular/http to support angular8
- Doing a c8o.log, parameters objet must be properly stringified
- autologin called several times
- SDK process a double login when onresume and network change event are called at same time
- Since Pouchdb Api has changed for attachments, we must update handleGetDocumentRequest
- we need a new policy for fullsync post merge
- we must check existing session status on init of sdk (for browser mode )
- setEnablePrefixBase must not affect c8oLocalCache
- must support mongo queries
- File upload sequences fails if has been built through uglify.js
- The sending of http logs should be grouped to avoid saturating the servers.
- We must detect when session authenticated user changed
- [view live] we must compare results hash before re-triggering handleResponse on live call tasks
- better support for retry and timeouts over http callJSON
- we must remove admin http calls from sdk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c8osdk-angular.