Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228535 articles
Browse latest View live

What does a black orchid symbolize?

$
0
0

Symbolism. The black orchid actually has several common symbolic representations. Many believe that black symbolizes death and are attributed with negative connotations to it as well. But the black orchid, by its imposing exotic color and ominous beauty, symbolizes ultimate power and total control and commands total submission to its will. Most orchids sold today come in a variety of shades of green and black, so it is not uncommon to find a black orchid in the garden.

Black orchids have also been associated with other symbolic imagery, such as crosses and the black rose. In Greek mythology, it is said that the god of wine, Bacchus, gave his daughter, Cupid, a black orchid as a gift. In Roman mythology, Venus, the goddess of love, is sometimes represented holding a spray of orchids. In Chinese mythology, King Jeet Kune Do, the great emperor of ancient times, is often pictured holding a sprig of orchids in his hands. There are many other legends and myths associated with orchids, some of which are a little more elaborate than others.

Now that you know what a Black Orchid can symbolize, you may wonder if other flowers can be used to symbolize the same meaning. The truth is, just about any flower can be used. For instance, white flowers can symbolize purity, pink can symbolize sweetness, red can symbolize passion, yellow can symbolize happiness, and orange can stand for abundance and beauty. A beautiful bouquet of any kind of flower, however, will always stand out as special because it is unique. And that is what a black orchid symbolizes: uniqueness.


An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/src/webpack/utils/helpers'

$
0
0

Any Udpate here. i updated ionic 5 and angular 9. i have same issue
My package.json
“dependencies”: {

"@angular/animations": "9.1.13",

"@angular/cdk": "^11.2.13",

"@angular/common": "9.1.13",

"@angular/core": "9.1.13",

"@angular/fire": "5.2.1",

"@angular/forms": "9.1.13",

"@angular/localize": "^9.1.13",

"@angular/material": "7.3.7",

"@angular/platform-browser": "9.1.13",

"@angular/platform-browser-dynamic": "9.1.13",

"@angular/platform-server": "^12.2.1",

"@angular/router": "9.1.13",

"@bugsnag/core": "7.11.0",

"@bugsnag/js": "7.11.0",

"@bugsnag/plugin-angular": "6.5.2",

"@ionic-enterprise/secure-storage": "^2.1.1",

"@ionic-native/app-version": "5.14.0",

"@ionic-native/badge": "5.18.0",

"@ionic-native/browser-tab": "5.26.0",

"@ionic-native/camera": "5.8.0",

"@ionic-native/chooser": "5.19.1",

"@ionic-native/core": "5.0.0",

"@ionic-native/deeplinks": "5.5.1",

"@ionic-native/device": "5.13.0",

"@ionic-native/fcm": "5.11.0",

"@ionic-native/file": "5.19.1",

"@ionic-native/file-chooser": "5.19.1",

"@ionic-native/file-path": "5.19.1",

"@ionic-native/file-picker": "5.20.0",

"@ionic-native/file-transfer": "5.19.1",

"@ionic-native/firebase": "5.11.0",

"@ionic-native/firebase-dynamic-links": "5.27.0",

"@ionic-native/firebase-x": "5.23.0",

"@ionic-native/google-plus": "5.7.0",

"@ionic-native/http": "5.21.6",

"@ionic-native/in-app-browser": "5.11.0",

"@ionic-native/intercom": "5.22.0",

"@ionic-native/keyboard": "5.13.0",

"@ionic-native/network": "5.12.0",

"@ionic-native/splash-screen": "5.0.0",

"@ionic-native/status-bar": "5.0.0",

"@ionic/angular": "5.6.13",

"@ionic/pro": "2.0.4",

"@ionic/storage": "^3.0.6",

"@ionic/storage-angular": "3.0.6",

"@nth-cloud/ng-mentions": "2.0.3",

"@types/jquery": "3.3.33",

"angularfire2": "5.2.1",

"autolinker": "3.1.0",

"chart.js": "2.9.4",

"chartjs-plugin-annotation": "0.5.7",

"cordova": "9.0.0",

"cordova-android": "9.0.0",

"cordova-ios": "5.1.1",

"cordova-plugin-advanced-http": "2.4.1",

"cordova-plugin-android-rootbeer": "1.0.0",

"cordova-plugin-androidx": "2.0.0",

"cordova-plugin-androidx-adapter": "1.1.1",

"cordova-plugin-app-version": "0.1.9",

"cordova-plugin-badge": "0.8.8",

"cordova-plugin-browsertab": "0.2.0",

"cordova-plugin-camera": "4.1.0",

"cordova-plugin-compat": "1.2.0",

"cordova-plugin-device": "2.0.2",

"cordova-plugin-file": "6.0.2",

"cordova-plugin-file-transfer": "1.7.1",

"cordova-plugin-filechooser": "1.2.0",

"cordova-plugin-filepath": "1.5.8",

"cordova-plugin-filepicker": "1.1.6",

"cordova-plugin-firebase-analytics": "4.3.1",

"cordova-plugin-firebase-dynamiclinks": "4.4.0",

"cordova-plugin-firebasex": "10.1.2-cli",

"cordova-plugin-googleplus": "8.5.0",

"cordova-plugin-inappbrowser": "git+https://github.com/thambui/cordova-plugin-inappbrowser.git",

"cordova-plugin-ionic": "5.4.0",

"cordova-plugin-ionic-keyboard": "2.1.3",

"cordova-plugin-ionic-webview": "4.2.0",

"cordova-plugin-jailbreak-detection": "0.1.0",

"cordova-plugin-network-information": "2.0.2",

"cordova-plugin-splashscreen": "5.0.3",

"cordova-plugin-whitelist": "1.3.4",

"cordova-support-android-plugin": "1.0.2",

"cordova-support-google-services": "1.4.1",

"core-js": "2.5.4",

"crypto-js": "4.1.1",

"firebase": "7.24.0",

"gulp-replace": "1.0.0",

"hammerjs": "2.0.8",

"ionic": "4.12.0",

"ionic-plugin-deeplinks": "1.0.20",

"moment": "2.24.0",

"ng2-charts": "2.2.3",

"ngx-avatar": "3.7.0",

"ngx-moment": "3.4.0",

"ngx-quill": "5.2.0",

"ngx-segment-analytics": "1.8.0",

"node-pre-gyp": "0.12.0",

"pluralize": "8.0.0",

"quill-mention": "2.1.1",

"rxjs": "6.6.7",

"secure-storage": "^0.2.1",

"secure-web-storage": "1.0.2",

"time-ago-pipe": "1.3.2",

"tslib": "1.10.0",

"url-parse": "1.5.3",

"yargs": "14.0.0",

"zone.js": "~0.10.2"

},

“devDependencies”: {

"@angular-devkit/architect": "0.1202.1",

"@angular-devkit/build-angular": "^0.901.15",

"@angular-devkit/core": "9.1.15",

"@angular-devkit/schematics": "9.1.15",

"@angular/cli": "9.1.15",

"@angular/compiler": "9.1.13",

"@angular/compiler-cli": "9.1.13",

"@angular/language-service": "9.1.13",

"@ionic/angular-toolkit": "^3.1.1",

"@ionic/lab": "1.0.24",

"@types/jasmine": "2.8.8",

"@types/jasminewd2": "2.0.3",

"@types/lodash": "4.14.133",

"@types/node": "12.11.1",

"codelyzer": "5.1.2",

"cordova-plugin-device": "2.0.2",

"cordova-plugin-ionic-keyboard": "2.1.3",

"cordova-plugin-statusbar": "2.4.2",

"gulp": "4.0.2",

"gulp-run": "1.7.1",

"handlebars": "4.7.7",

"husky": "4.2.5",

"jasmine-core": "2.99.1",

"jasmine-spec-reporter": "4.2.1",

"karma": "6.3.4",

"karma-chrome-launcher": "2.2.0",

"karma-coverage-istanbul-reporter": "2.0.1",

"karma-jasmine": "1.1.2",

"karma-jasmine-html-reporter": "0.2.2",

"karma-junit-reporter": "2.0.1",

"ngx-spec": "2.1.4",

"node": "12.16.0",

"npm": "6.14.14",

"protractor": "5.4.0",

"ts-node": "8.1.0",

"tslint": "5.16.0",

"typescript": "3.8.3"

},

Ionic React App build signed apk but after install app does not appear anywhere only in manage app

$
0
0

Is this only appearing on your own device or is the problem also occurring on an emulator?

This might help:

As of Android Q, at least one of the app’s activities or synthesized activities appears in the returned list [from getActivityList()] unless the app satisfies at least one of the following conditions:

  • The app is a system app.
  • The app doesn’t request any permissions.
  • The app doesn’t have a launcher activity that is enabled by default. A launcher activity has an intent containing the ACTION_MAIN action and the CATEGORY_LAUNCHER category.

Additionally, the system hides synthesized activities for some or all apps in the following enterprise-related cases:

  • If the device is a fully managed device, no synthesized activities for any app appear in the returned list.
  • If the current user has a work profile, no synthesized activities for the user’s work apps appear in the returned list.

Maybe it is possible that you have something enabled from the first list, or don’t have something from the second one.

Probably the most obvious one is that somehow your AndroidManifest.xml was modified, and you’re missing these from it:

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

Here’s an example manifest file for reference:

<?xml version='1.0' encoding='utf-8'?>
<manifest package="io.ionic.starter" xmlns:android="http://schemas.android.com/apk/res/android">
    <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true">
        <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:label="@string/title_activity_main" android:launchMode="singleTask" android:name="io.ionic.starter.MainActivity" android:theme="@style/AppTheme.NoActionBarLaunch">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <provider android:authorities="${applicationId}.fileprovider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">
            <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" />
        </provider>
    </application>
    <uses-permission android:name="android.permission.INTERNET" />
</manifest>

Ionic React App build signed apk but after install app does not appear anywhere only in manage app

$
0
0

Yeah, I just found the solution on stackoverflow

Problem was exactly that broke this part while adding deeplink things

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

URL open inside the app

$
0
0

You’re going to have to define some terms more precisely here. How are these URLs being presented to the user? To what do they refer? What does it mean to you to “open” something “within the app”? (that one might be easier if you define what you don’t want to happen)

[Ionic 5] [Angular] ion-select does not show the selected values

$
0
0

Can’t speak for OP, but I personally don’t do that (the way you are) because it causes unpredictable behavior when you have multiple bindings fighting over a single target. Either bind ngModel or supply a reactive form attribute like formControlName, but never both at the same time.

EDIT: just reread the thread, apologies to anybody sick of reading this twice in one thread

URL open inside the app

Ionic 4: View not updating after recieving push notification

$
0
0

When I recieve a Push notification I add something to an array. I use that array in my html to show messages like on whatsapp. All works fine when I use buttons and I checked my Code for more than 12h now and it should normally work right. The problem is that when I recieve a push notification the view doesn’t refresh even if the console logs are right and the array gets extended. When I use a button to add something to the array all works fine. I can share my code if needed but I think that isn’t even necessary for a solution (push notifications itself are working).


Ionic 4: View not updating after recieving push notification

$
0
0

I think it is, especially the specific push notification plugin and associated wrapper that you’re using. What you describe sounds suspiciously like accidentally jumping out of Angular’s UI zone. If you are receiving a Promise from an external source (like a plugin), try wrapping it in what would ordinarily seem to be a spurious second Promise, like so:

before

myPlugin.notificationReceived().then(n => doStuff());

after

Promise.resolve(myPlugin.notificationReceived()).then(n => doStuff());

An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/src/webpack/utils/helpers'

$
0
0

I would suggest aligning the major version on everything Angular in your project. I’m seeing 9s, 11s, and 12s in there.

Ionic 4: View not updating after recieving push notification

$
0
0

Ok, my fcm.service and the function we are talking about is this, the part after refresh chat:

onNotifications() {
    this.firebase.onMessageReceived().pipe().subscribe((res => {
      console.log("this notification", res)
      if (this.authService.authenticationState.value) {
        console.log("trigger functions get messages")
        console.log("Tapped in: ", res.tap)
        this.inboxService.getMessages()

        //refresh chat   
        if (res.alert == "NEW_CHAT_MESSAGE") {
          if (res.tap != undefined) {
            console.log("Navigate to Chat ", res.chatid, " after push, halterid: ", res.halterid)
            this.chatService.newORoldChat(res.halterid).then(res_new_old => {
              console.log("new or old", res_new_old)
              let navigationExtras: NavigationExtras = {
                state: {
                  index: res_new_old
                }
              }
              this.navController.navigateForward("chatsingle", navigationExtras)
              this.chatService.enterdChat(res.halterid)

            })

          } else {
            //only refresh
            console.log("Only Refresh chat ", res.halterid)
            this.chatService.refreshUnreadCount()
            //need to check if on right page
            this.chatService.all_stored_chats.value[0].nachrichten.push({
              "id": 340,
              "sender": 5066,
              "text": "I'm a test message",
              "filename": "",
              "gesendet": "Today 15:44",
              "gelesen": ""
          })
            if (res.halterid == this.chatService.chat_partner.value.id){
              this.activeChat.next(true)
            } else {
              console.log("refreshed on service")
              this.chatService.getChat(res.halterid)
            }
            
            

          }
        }

        //navigate to inbox
        //navigate to tippspiel
        //navigate to profile->orders
      }
    }))
    return this.firebase.onMessageReceived();
  }

URL open inside the app

$
0
0

Hi, I am trying to create an Android app for a forum like this. I am listing the home / default view as a list. When someone touch say " Peer to Peer support " it will direct the user to that particular page. There will be more categories in the list. I have like 8-10 as list items. Say one is Ionic, one is Stencil, one is Enterprise and so on.

So now a user clicks on one of the list items, it is supposed to open an URL right ? I would like to have the URL open within the app itself.

Hope I explained it properly. Please let me know if you need any other info.

Also, now the user goes on browsing, I would like to have the user come back to basic default view through the back button press on Android. Thanks

Ionic 4: View not updating after recieving push notification

$
0
0

Aside from the potential problems with zones previously mentioned, I would recommend never poking around in the internals of a BehaviorSubject like this. In fact, I never publicly expose a BehaviorSubject from a service, preferring instead to do something like this:

private underlyingSubject = new BehaviorSubject<string>("foo");
public usableObservable: Observable<string> { return this.underlyingSubject }

The theoretical point of this is encapsulation, so that you can change the implementation later without worrying about impact on consumers. The practical point is that subscriptions won’t fire when you directly poke around inside the BehaviorSubject - you need to call next() on it in order for that to happen.

URL open inside the app

$
0
0

That is going to be a relatively rough road. The first thing you have to decide is whether you want to be presenting all the content from within your app or not. If so, you need to decide on a proper transfer language for your “posts” (and I would strongly recommend not choosing HTML here, because it is hard to parse, having tons of edge cases). You will be tempted to use innerHTML, which simultaneously opens a bunch of security concerns and will frustrate you by not doing anything beyond very vanilla text formatting.

If you decide “no” on presenting directly in the app, then the InAppBrowser documentation that @mikrochipkid posted should be your next stop.

Ionic 4: View not updating after recieving push notification

$
0
0

Yeah you are totally right, that’s my bad. I only wanted to use that as a debug case, normally I’m only changing the activeChat with next and then I call an http request to update the whole all_stored_chats Subject. I only wanted to get on the lowest level of the problem without changing too much code. So now about the zones, did I understood you right, that I just need to pack the whole function into a promise?


URL open inside the app

$
0
0

I do not know JS. So I have no choice. The best I could do is use a list of categories and then let the user browse using in-app browser or external browser.

I tried using native app building method using Android Studio. Everything worked and build was successful. But the app is crashing while trying to start. So I thought of taking refuge in Ionic.

Perhaps I should go back and take some Java help.

I really thought this would be easy to do. Thanks for the help.

Ionic 4: View not updating after recieving push notification

$
0
0

That’s only if you’re receiving a Promise in the first place. In this situation, you’ve got an Observable. Let’s see…you’ve got that odd unused pipe there…maybe we could McGyver something out of that.

this.firebase.onMessageReceived()
  .pipe(msg => of(msg))
  .subscribe(...)

That should achieve the same effect of warping you into the right zone if you’re not already.

Now that I’ve seen the code, though, I’m leaning towards the fact that you’re never calling next as a more likely explanation for the issue.

URL open inside the app

$
0
0

The reason it’s harder than you think is that web application frameworks are designed to do things that are outside of what one would ordinarily do with a web browser. The project you’re describing is squarely in the wheelhouse of “things web browsers are good at”, so typically it doesn’t make a whole lot of sense to “app-ify” it, unless your goal is to get your website publicity by leveraging app stores. And therefore app stores tend to frown on “apps” that are really just veneers over websites.

URL open inside the app

$
0
0

Users wanted to have an app instead of typing the URL all the time in their browser. I have a Webview app which is working. But no JS, no cache remember or pull to refresh. Those are minor things I am missing. But if Ionic is not an option to me, I will have to try my luck with someone who can help me with Android Studio based project.

I thought it will be easy to pull alerts if we use Ionic. It is ok. I think going back to native is better for simpler apps. Thanks.

PS : I will not be putting them on Play Store.

Ionic 4: View not updating after recieving push notification

$
0
0

Ok, I built that in, thanks already. I will know if that changed something in about 8mins.

About calling next:
On the actual chat page, I got this, as part of the constructor:

constructor(
    private chatService: ChatService,
    private photoViewer: PhotoViewer,
    private photoService: PhotoService,
    private alertController: AlertController,
    private file: File,
    private route: ActivatedRoute,
    private router: Router,
    private fcmService: FcmService
  ) {
    this.getData()
    this.fcmService.activeChat.subscribe((value) =>{
      console.log("activeChat", value)
      if (value){
        console.log("Trigger test function")
        this.reloadforMessages()
        this.fcmService.activeChat.next(false)
      }

And this is the reloadforMessages function, that should be called when recieving a notification:

reloadforMessages(){
    console.log("Reaload for new Message")
    var DateNow = new Date
    var writing_obj_display = {
      sender: this.chatService.chat_partner.value.id,
      text: "...",
      filename: "",
      gesendet: "Heute " + moment(DateNow).format("HH:mm"),
      gelesen: "1",
      writing: ""
    }
    this.my_active_chat["nachrichten"].push(writing_obj_display)
    this.chatService.getChat(this.chatService.chat_partner.value.id).then(_ => {
      console.log(this.my_active_chat)
      console.log(this.chatService.all_stored_chats.value[this.chat_index])

      this.my_active_chat["nachrichten"] = this.chatService.all_stored_chats.value[this.chat_index].nachrichten
      this.content.scrollToBottom()
    })
  }

The short part for test cases was or better is that:

test(){
    console.log("refreshed on single chat")
    this.my_active_chat["nachrichten"].push({
      "id": 340,
      "sender": 5066,
      "text": "Ich bin ein TestButton",
      "filename": "",
      "gesendet": "Heute 15:44",
      "gelesen": ""
  })
    console.log(this.my_active_chat)
    console.log(this.chatService.all_stored_chats.value[this.chat_index])
    this.my_active_chat = this.chatService.all_stored_chats.value[this.chat_index]
    console.log(this.my_active_chat)
    this.content.scrollToBottom()
  }
Viewing all 228535 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>