@sonicwong wrote:
I know both “ion-no-padding” class or “no-padding” attribute work.
But, which would be prefer to use?
Posts: 1
Participants: 1
@sonicwong wrote:
I know both “ion-no-padding” class or “no-padding” attribute work.
But, which would be prefer to use?
Posts: 1
Participants: 1
@Harikag wrote:
I have a requirement to display images from Google drive to my app, can we do, If yes, How to do help me with example, If possible
Posts: 3
Participants: 2
@VictorNorman wrote:
I have created an accordion list in my app, but when the user clicks on the item that is near the bottom of the screen, most of the sub-list is added off-screen, so that the user doesn’t even know it is there. So, I need programmatically scroll the screen up a bit. I have written code (following Josh Morony’s excellent tutorial https://www.joshmorony.com/animating-list-items-in-ionic-with-intersection-observer-api/) to observe when the new elements are off-screen.
The only way I can find to programmatically scroll is to call one of the scroll functions on IonContent.
However, the trigger for this is the user clicking on a card way deep down in the DOM – many levels below the ion-content element.
What is the best way to get a handle on the IonContent element so that I can call the scrollToTop() method on it (or some such)?
Thanks.
Vic
Posts: 1
Participants: 1
@whiskybruz wrote:
I’m developing a hybrid application and want suggestions on how I should integrate a database with it. Some important notes are:
- Database will store user account information & product information
- Products will be frequently added and removed from the database
- Hundreds of concurrent users
- Database will obviously need to be on a server for users to pull information from on the app
I was thinking about using Firebase’s Cloud Firestore or Realtime Database, but have no knowledge of NoSQL and the pros and cons in regards to my specific application. It’s either that or me creating an entire backend myself, which I don’t think I will have the time and resources to accomplish. Should I just use Firebase? Will it pertain to my application? Would appreciate some expert advice, as this is my first time working with Ionic.
Posts: 1
Participants: 1
@Kyrax80 wrote:
This plugin just tells me if I’m connected to wifi, even if the wifi has no connection for any reason.
Is there a way to check if there’s an actual connection to the internet?
Thanks
Posts: 1
Participants: 1
@flycoders_sourav wrote:
How create a search textbox inside the ion-select ?
Any help would be highly appreciated.
Thanks in advance
Posts: 2
Participants: 2
@shilpakaramar wrote:
How to fix the blocked a frame issue. What i need to achieve is to access >
document.getElementById(“iframe_id”).contentWindow.location.href.
how to achieve this in ionic android application
Posts: 1
Participants: 1
@flycoders_sourav wrote:
how to create a spring loader for a specific div location.
please help me out
Thanks
Posts: 1
Participants: 1
@wOx wrote:
So I have a form multiple line items having same column/field. Below is my html code:
<ion-item> <ion-label position="floating">Customer Name</ion-label> <ion-input type="text" name="CustomerName" ngModel> </ion-input> </ion-item> <ion-item *ngFor="let att of anArray; let idx = index"> <ion-item> <ion-label position="floating">Line Date : </ion-label> <ion-input type="text" name="LineDate{{idx+1}}" ngModel></ion-input> </ion-item> <ion-item> <ion-label position="floating">Line Item</ion-label> <ion-input type="text" name="LineItem{{idx+1}}" ngModel></ion-input> </ion-item>input type="text" name="Type{{idx+1}}" ngModel></ion-input> </ion-item> <ion-item> <ion-label position="floating">Description</ion-label> <ion-input type="text" name="Description{{idx+1}}" ngModel></ion-input> </ion-item> </ion-item>After submitting the form, I am getting below JSON generated:
{ "CustomerName": "", "LineDate1": "A", "LineItem1": "A", "Type1": "A", "Description1": "A", "LineDate2": "B", "LineItem2": "B", "Type2": "B", "Description2": "B" }But this is not what I actually was expecting. I need something like below. So that I can easily convert below JSON to rows and insert into a database table.
{ "CustomerName": "abc", "LineDate": "A", "LineItem": "A", "Type": "A", "Description": "A" }, { "CustomerName": "abc", "LineDate": "B", "LineItem": "B", "Type": "B", "Description": "B" }
Posts: 1
Participants: 1
@brunopy wrote:
Hi,
I’ve followed the instructions found here: facebook capacitor instructions
The Android build works without any problem but the IOS version throws the following error on Xcode Console:[log] - <![EX[["Minified invariant #587; %s Params: %s TAAL[2]","","capacitor"]]]>This is the info.plist file
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>en</string> <key>CFBundleDisplayName</key> <string>Next2</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>$(PRODUCT_NAME)</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>1.1</string> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLName</key> <string>com.getcapacitor.capacitor</string> <key>CFBundleURLSchemes</key> <array> <string>capacitor</string> </array> </dict> </array> <key>CFBundleVersion</key> <string>2</string> <key>LSRequiresIPhoneOS</key> <true/> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> <key>NSCameraUsageDescription</key> <string>To Take Photos and Video</string> <key>NSLocationAlwaysUsageDescription</key> <string>Always allow Geolocation?</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Allow Geolocation?</string> <key>NSMicrophoneUsageDescription</key> <string>To Record Audio With Video</string> <key>NSPhotoLibraryAddUsageDescription</key> <string>Store camera photos to camera</string> <key>NSPhotoLibraryUsageDescription</key> <string>To Pick Photos from Library</string> <key>UILaunchStoryboardName</key> <string>LaunchScreen</string> <key>UIMainStoryboardFile</key> <string>Main</string> <key>UIRequiredDeviceCapabilities</key> <array> <string>armv7</string> </array> <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> <key>UISupportedInterfaceOrientations~ipad</key> <array> <string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortraitUpsideDown</string> <string>UIInterfaceOrientationLandscapeLeft</string> <string>UIInterfaceOrientationLandscapeRight</string> </array> <key>UIViewControllerBasedStatusBarAppearance</key> <true/> <!-- facebook conf --> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLSchemes</key> <array> <string>fbxxx</string> </array> </dict> </array> <key>FacebookAppID</key> <string>xxx</string> <key>FacebookDisplayName</key> <string>xxx</string> <key>LSApplicationQueriesSchemes</key> <array> <string>fbapi</string> <string>fbauth2</string> </array> <!-- end facebook conf --> </dict> </plist>And this is the dependencies section on the package.json file:
"dependencies": { "@angular/common": "^7.2.2", "@angular/core": "^7.2.2", "@angular/forms": "^7.2.2", "@angular/http": "^7.2.2", "@angular/platform-browser": "^7.2.2", "@angular/platform-browser-dynamic": "^7.2.2", "@angular/router": "^7.2.2", "@capacitor/android": "^1.0.0-beta.17", "@capacitor/cli": "1.0.0-beta.17", "@capacitor/core": "1.0.0-beta.17", "@capacitor/ios": "^1.0.0-beta.17", "@ionic-native/core": "^5.0.0", "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic/angular": "^4.0.0", "@ngx-translate/http-loader": "^4.0.0", "@rdlabo/capacitor-facebook-login": "^1.0.0-beta.17.2", "core-js": "^2.5.4", "rxjs": "~6.3.3", "zone.js": "~0.8.29" }Any help would be much appreciated
Posts: 1
Participants: 1
@manojpatel0217 wrote:
Hello,
I am trying to open one modal page that contains google address search api. it opens if I install application normally. but somehow its not opening if i create apk with --prod flag.
Its a wired issue but I stuck on that. Can someone help me on that?
Thanks
Posts: 1
Participants: 1
@pdj wrote:
Hello
I’m quite sure that code is not missing…
whenever comes to phonecall function…
it has error saying
TypeError: Object(…) is not a functionthe wierd one is that I used to use plugin well on import
import { CallNumber } from '@ionic-native/call-number
not with ngx postfix…
when I remove those ngx. it says can not find name CallNumber even I import it without ngx.import { CallNumber } from '@ionic-native/call-number/ngx'; constructor(public callNumber:CallNumber,public navCtrl: NavController, public navParams: NavParams) { } phonecall(){ this.callNumber.callNumber("15771234", true) .then(res => console.log('Launched dialer!', res)) .catch(err => console.log('Error launching dialer', err)); }package.json is
{
“name”: “solami”,
“version”: “0.0.1”,
“author”: “Ionic Framework”,
“homepage”: “http://ionicframework.com/”,
“private”: true,
“scripts”: {
“start”: “ionic-app-scripts serve”,
“clean”: “ionic-app-scripts clean”,
“build”: “ionic-app-scripts build”,
“lint”: “ionic-app-scripts lint”
},
“dependencies”: {
“@angular/animations”: “5.2.11”,
“@angular/common”: “5.2.11”,
“@angular/compiler”: “5.2.11”,
“@angular/compiler-cli”: “5.2.11”,
“@angular/core”: “^5.2.11”,
“@angular/forms”: “5.2.11”,
“@angular/http”: “5.2.11”,
“@angular/platform-browser”: “5.2.11”,
“@angular/platform-browser-dynamic”: “5.2.11”,
“@angular/router”: “^7.2.9”,
“@ionic-native/call-number”: “^5.3.0”,
“@ionic-native/camera”: “^4.11.0”,
“@ionic-native/core”: “~4.10.0”,
“@ionic-native/document-viewer”: “^4.11.0”,
“@ionic-native/file”: “^4.11.0”,
“@ionic-native/file-transfer”: “^4.11.0”,
“@ionic-native/in-app-browser”: “^4.20.0”,
“@ionic-native/onesignal”: “^4.11.0”,
“@ionic-native/photo-viewer”: “^4.11.0”,
“@ionic-native/splash-screen”: “~4.10.0”,
“@ionic-native/sqlite”: “^4.11.0”,
“@ionic-native/status-bar”: “~4.10.0”,
“@ionic/storage”: “2.1.3”,
“@types/text-encoding”: “0.0.35”,
“call-number”: “1.0.1”,
“com-sarriaroman-photoviewer”: “^1.2.1”,
“cordova-android”: “6.3.0”,
“cordova-plugin-camera”: “^4.0.3”,
“cordova-plugin-device”: “^2.0.2”,
“cordova-plugin-document-viewer”: “^0.9.10”,
“cordova-plugin-file”: “^6.0.1”,
“cordova-plugin-file-transfer”: “^1.7.1”,
“cordova-plugin-inappbrowser”: “^3.0.0”,
“cordova-plugin-ionic-keyboard”: “^2.1.3”,
“cordova-plugin-ionic-webview”: “^2.4.0”,
“cordova-plugin-kakao-sdk”: “^3.0.0”,
“cordova-plugin-splashscreen”: “^5.0.2”,
“cordova-plugin-whitelist”: “^1.3.3”,
“cordova-sqlite-storage”: “^2.3.2”,
“html-escape-unescape”: “^1.0.3”,
“ionic-angular”: “3.9.2”,
“ionicons”: “3.0.0”,
“kakao-sdk”: “^3.0.0”,
“mx.ferreyra.callnumber”: “~0.0.2”,
“naver-login”: “^1.0.1”,
“naver-sdk”: “^1.0.1”,
“ng2-pdf-viewer”: “^5.1.1”,
“onesignal-cordova-plugin”: “^2.4.1”,
“rxjs”: “5.5.11”,
“sw-toolbox”: “3.6.0”,
“text-encoding”: “^0.7.0”,
“zone.js”: “0.8.26”
},
“devDependencies”: {
“@ionic/app-scripts”: “3.1.11”,
“typescript”: “~2.6.2”
},
“description”: “An Ionic project”,
“cordova”: {
“plugins”: {
“cordova-plugin-whitelist”: {},
“cordova-plugin-device”: {},
“cordova-plugin-splashscreen”: {},
“cordova-plugin-ionic-webview”: {
“ANDROID_SUPPORT_ANNOTATIONS_VERSION”: “27.+”
},
“cordova-plugin-ionic-keyboard”: {},
“cordova-sqlite-storage”: {},
“com-sarriaroman-photoviewer”: {},
“cordova-plugin-camera”: {},
“onesignal-cordova-plugin”: {},
“cordova-plugin-file”: {},
“cordova-plugin-file-transfer”: {},
“cordova-plugin-document-viewer”: {},
“cordova-plugin-inappbrowser”: {},
“cordova-plugin-kakao-sdk”: {
“KAKAO_APP_KEY”: “xxx”
},
“call-number”: {},
“mx.ferreyra.callnumber”: {}
},
“platforms”: [
“android”
]
}
}
Posts: 1
Participants: 1
@FilonKsegundo wrote:
[07:38:05]: Shell command exited with exit status 1 instead of 0.
upload failed: . ‘ascii’ codec can’t encode character u’\xe7’ in position 36: ordinal not in range(128)[07:38:05]: fastlane finished with errors
/Library/Ruby/Gems/2.0.0/gems/fastlane-2.46.1/fastlane_core/lib/fastlane_core/ui/interface.rb:143:in `shell_error!’: [!] Shell command exited with exit status 1 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
upload failed: .to s3:app-store.ipa ‘ascii’ codec can’t encode character u’\xe7’ in position 36: ordinal not in range(128)
Posts: 1
Participants: 1
@Dubicki wrote:
Can some please tell me how I can fix this. I am trying to use native email plugin with ionic 4 project and as soon as I try to run my project on a device I get the following console errors
C:\Users\APPS\.gradle\caches\transforms-1\files-1.1\support-compat-27.1.1.aar\742c3f5a4b24788341203c644a0d51f5\res\value s-v21\values-v21.xml:3:5-104: AAPT: error: resource color/secondary_text_default_material_light (aka io.ionic.starter:co lor/secondary_text_default_material_light) not found. C:\Users\APPS\.gradle\caches\transforms-1\files-1.1\support-compat-27.1.1.aar\742c3f5a4b24788341203c644a0d51f5\res\value s-v21\values-v21.xml:14:5-18:13: AAPT: error: resource drawable/notification_action_background (aka io.ionic.starter:dra wable/notification_action_background) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:28: AAPT: error: resource color/secondary_text_default_material_light (aka io.ionic.star ter:color/secondary_text_default_material_light) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:29: AAPT: error: resource dimen/notification_action_text_size (aka io.ionic.starter:dime n/notification_action_text_size) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:3: error: resource color/secondary_text_default_material_light (aka io.ionic.starter:col or/secondary_text_default_material_light) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:24: error: resource drawable/notification_action_background (aka io.ionic.starter:drawab le/notification_action_background) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:28: error: resource color/secondary_text_default_material_light (aka io.ionic.starter:co lor/secondary_text_default_material_light) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:29: error: resource dimen/notification_action_text_size (aka io.ionic.starter:dimen/noti fication_action_text_size) not found. error: failed linking references. Failed to execute aapt :app:processDebugResources FAILED com.android.ide.common.process.ProcessException: Failed to execute aapt at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796) at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551) at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285) at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109) at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(Default TaskClassInfoStore.java:173) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskC lassInfoStore.java:134) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskC lassInfoStore.java:121) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildO perationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildO perationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.j ava:111) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter. java:92) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70 ) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63) at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachin gStateExecuter.java:54) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExec uter.java:88) at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactState TaskExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.j ava:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.j ava:43) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34 ) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter. java:248) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildO perationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildO perationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecute r.java:241) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecute r.java:230) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor .java:124) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor. java:80) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.j ava:105) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.j ava:99) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99 ) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:748) Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aap t2Exception: AAPT2 error: check logs for details at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79) at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:794) ... 47 more Caused by: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79) at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:179) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ... 1 more Caused by: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:463) at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:415) at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332) at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104) FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugResources'. > Failed to execute aapt * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org BUILD FAILED in 9s 25 actionable tasks: 5 executed, 20 up-to-date cmd: Command failed with exit code 1 Error output: C:\Users\APPS\.gradle\caches\transforms-1\files-1.1\support-compat-27.1.1.aar\742c3f5a4b24788341203c644a0d51f5\res\value s-v21\values-v21.xml:3:5-104: AAPT: error: resource color/secondary_text_default_material_light (aka io.ionic.starter:co lor/secondary_text_default_material_light) not found. C:\Users\APPS\.gradle\caches\transforms-1\files-1.1\support-compat-27.1.1.aar\742c3f5a4b24788341203c644a0d51f5\res\value s-v21\values-v21.xml:14:5-18:13: AAPT: error: resource drawable/notification_action_background (aka io.ionic.starter:dra wable/notification_action_background) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:28: AAPT: error: resource color/secondary_text_default_material_light (aka io.ionic.star ter:color/secondary_text_default_material_light) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:29: AAPT: error: resource dimen/notification_action_text_size (aka io.ionic.starter:dime n/notification_action_text_size) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:3: error: resource color/secondary_text_default_material_light (aka io.ionic.starter:col or/secondary_text_default_material_light) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:24: error: resource drawable/notification_action_background (aka io.ionic.starter:drawab le/notification_action_background) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:28: error: resource color/secondary_text_default_material_light (aka io.ionic.starter:co lor/secondary_text_default_material_light) not found. C:\Users\APPS\workspace-ionic\email-test\platforms\android\app\build\intermediates\incremental\mergeDebugResources\merge d.dir\values-v21\values-v21.xml:29: error: resource dimen/notification_action_text_size (aka io.ionic.starter:dimen/noti fication_action_text_size) not found. error: failed linking references. Failed to execute aapt com.android.ide.common.process.ProcessException: Failed to execute aapt at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:796) at com.android.build.gradle.tasks.ProcessAndroidResources.invokeAaptForSplit(ProcessAndroidResources.java:551) at com.android.build.gradle.tasks.ProcessAndroidResources.doFullTaskAction(ProcessAndroidResources.java:285) at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109) at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(Default TaskClassInfoStore.java:173) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskC lassInfoStore.java:134) at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskC lassInfoStore.java:121) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildO perationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildO perationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.j ava:111) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter. java:92) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70 ) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63) at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachin gStateExecuter.java:54) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExec uter.java:88) at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactState TaskExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.j ava:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.j ava:43) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34 ) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter. java:248) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildO perationExecutor.java:336) at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildO perationExecutor.java:328) at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197) at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecute r.java:241) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecute r.java:230) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor .java:124) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor. java:80) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.j ava:105) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.j ava:99) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625) at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99 ) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) at java.lang.Thread.run(Thread.java:748) Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aap t2Exception: AAPT2 error: check logs for details at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:482) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79) at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:794) ... 47 more Caused by: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:503) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:462) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79) at com.android.builder.internal.aapt.v2.QueueableAapt2.lambda$makeValidatedPackage$1(QueueableAapt2.java:179) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ... 1 more Caused by: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details at com.android.builder.png.AaptProcess$NotifierProcessOutput.handleOutput(AaptProcess.java:463) at com.android.builder.png.AaptProcess$NotifierProcessOutput.err(AaptProcess.java:415) at com.android.builder.png.AaptProcess$ProcessOutputFacade.err(AaptProcess.java:332) at com.android.utils.GrabProcessOutput$1.run(GrabProcessOutput.java:104) FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugResources'. > Failed to execute aapt * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. * Get more help at https://help.gradle.org BUILD FAILED in 9s [ERROR] An error occurred while running subprocess cordova. cordova run android exited with exit code 1.I am using Android SDK Build-Tools 29-rc1
I have every support library and everything is up to date except my Gradle version which is 5.2.1. It is only one version back but I do not believe that this is the problem. Furthermore here is my project info:Ionic: ionic (Ionic CLI) : 4.12.0 (C:\Users\APPS\AppData\Roaming\npm\node_modules\ionic) Ionic Framework : @ionic/angular 4.1.2 @angular-devkit/build-angular : 0.13.6 @angular-devkit/schematics : 7.2.4 @angular/cli : 7.3.6 @ionic/angular-toolkit : 1.4.1 Cordova: cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : android 7.1.4 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 5 other plugins) System: Android SDK Tools : 26.1.1 (C:\Users\APPS\AppData\Local\Android\sdk) NodeJS : v10.10.0 (C:\Program Files\nodejs\node.exe) npm : 6.4.1 OS : Windows 10
Posts: 1
Participants: 1
@chaitya wrote:
How to do global level change for IonicPage navParams ? Whether I am passing from another page or whether user types in for browser It should always be read and changed to lower case .
Is there any way to do so ?
lets say : my app URL is : https://www.abcd.com/en and https://www.abcd.com/fr however if user types in manually EN --> it should automatically read and convert to en this is not only for one page or one place otherwise I can manually convert toLowerCase() However is there any property or any option we can pass so it will automatically be read always as lowercase
Posts: 1
Participants: 1
@LacOniC wrote:
Hi. I was reading a tutorial about locales and tells about dynamic import. Dynamic import needs EsNext. I wonder about, what happens if i don’t use es2015. Most of mobile phones are up to date. I can’t figure what happens.
Thanks in advance.
Posts: 1
Participants: 1
@FK2193 wrote:
if I select ‘twice a day’ then the list of the item shows two times, how we do that?
Posts: 1
Participants: 1
@suben wrote:
I’ve used the ionic menu in my app–which in the first place, didn’t swipe–so I’ve read some of the documentation of Ionic and saw, that they added an attribute
mainto theionic-router-outlet.This also just works if the menu is not encapsulated into it’s own component. I have to write it down among the router-outlet in the app.component.html
What makes me curious is, that this property “main” on the router-outlet component is not documented at all. At least I didn’t find it. https://ionicframework.com/docs/api/router-outlet
Also, here is the example, where the property has been used: https://ionicframework.com/docs/api/menu (which looks like this:
<ionic-router-outlet main></ionic-router-outlet>Last but not least I want to apologize if I overlooked something–this is my first Ionic app ever-- and I want to thank anybody who helps me solving this problem
Kind Regards
EDIT: It’s not worthy at all but I forgot to post my menu code. It’s really nothing special and almost 1:1 copied.
<ion-menu menuId="sideMenu" swipeGesture="true"> <ion-header> <ion-toolbar color="primary"> <ion-button slot="start"> <img alt="logo" src="../../assets/logo.svg"> </ion-button> <ion-title> app name </ion-title> </ion-toolbar> </ion-header> <ion-content> <ion-list> <ion-item>Attack</ion-item> <ion-item>Defence</ion-item> <ion-item>Feedback</ion-item> </ion-list> </ion-content> </ion-menu>
Posts: 1
Participants: 1
@heardnetwork wrote:
We have an app that uses firebase to log people in for a local chat app. The app doesn’t store the login locally though, so that a lot of the time especially on a slow connection the user sees the login screen and thinks they have been logged out. The app then finds their account and jumps to their account screen, which is a pretty jarring experience.
I’ve had a look online and can’t seem to find what i need, can anyone point me in the right direction?
thanks
Posts: 1
Participants: 1
@atiyar006 wrote:
this docs page says -
Use the
--typeoption to start projects using older versions of Ionic.whereas this docs page says -
Next, create an Ionic v4 app using our “Tabs” app template:
ionic start photo-gallery tabs --type=angularI wanted to create an Ionic 4 app. Do I use the
--typeoption or not?
Posts: 1
Participants: 1