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

Can't display a base64 image like a thumbnail

$
0
0

If that's the limit of your database interaction, I think you could make your life a lot easier by switching to ionic-storage. You're only ever referencing records by id, so direct interaction with SQLite isn't necessary.


Ionic with stripe checkout integration(custom)

$
0
0

Please edit your post, it is not very readable at the moment.
Use the </> button above the input field to format your code, command line output or error message (select the text first, then click the button or wrap it in ``` manually). Check the preview if it looks better. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.

Ionic with stripe checkout integration(custom)

$
0
0

Use ionic-native. If you insist on doing this the hard way, never type the word "function" inside of one. Always use lambdas and arrow functions.

I can not install local Notification and Cordova Toast plugin

$
0
0

I did the following:
1- ionic cordova platform remove android
2-ionic cordova platform add android
3- ionic cordoova plugin add de.appplant.cordova.plugin.local-notification
Here I received the following error:

Cordova plugin add de.appplant.cordova.plugin.local-notification --save
:heavy_multiplication_x: Running command - failed!

[ERROR] Cordova encountered an error.
You can get more insight by running the Cordova command above directly.

[ERROR] An error occurred while running the plugin cable add de.appplant.cordova.plugin.local-notification --save (exit
Code 1):

    Installing "de.appplant.cordova.plugin.local-notification" for android
    Plugin dependency "cordova-plugin-device@1.1.4" already fetched, using that version.
    Dependent plug-in "cordova-plugin-device" already installed on android.
    Failed to install 'de.appplant.cordova.plugin.local-notification': Error
    At C: \ Users \ Aurora \ AppData \ Roaming \ npm \ node_modules \ routing \ node_modules \ cordova-lib \ src \ plugman \ fetch.js: 205: 33
    At _rejected
    (C: \ Users \ Aurora \ AppData \ Roaming \ npm \ node_modules \ cordova \ node_modules \ cordova-fetch \ node_modules \ q \ q.js: 864: 24)
    at
    C: \ Users \ Aurora \ AppData \ Roaming \ npm \ node_modules \ cordova \ node_modules \ cordova-fetch \ node_modules \ q \ q.js: 890: 30
    At Promise.when
    (C: \ Users \ Aurora \ AppData \ Roaming \ npm \ node_modules \ cordova \ node_modules \ cordova-fetch \ node_modules \ q \ q.js: 1142: 31)
    At Promise.promise.promiseDispatch
    (C: \ Users \ Aurora \ AppData \ Roaming \ npm \ node_modules \ cordova \ node_modules \ cordova-fetch \ node_modules \ q \ q.js: 808: 41)
    at
    C: \ Users \ Aurora \ AppData \ Roaming \ npm \ node_modules \ cordova \ node_modules \ cordova-fetch \ node_modules \ q \ q.js: 624: 44
    At runSingle
    (C: \ Users \ Aurora \ AppData \ Roaming \ npm \ node_modules \ cordova \ node_modules \ cordova-fetch \ node_modules \ q \ q.js: 137: 13)
    At flush
    (C: \ Users \ Aurora \ AppData \ Roaming \ npm \ node_modules \ cordova \ node_modules \ cordova-fetch \ node_modules \ q \ q.js: 125: 13)
    At _combinedTickCallback (internal / process / next_tick.js: 95: 7)
    At process._tickCallback (internal / process / next_tick.js: 161: 9)
    Error: Failed to fetch cable-plugin-app-event plugin via registry.
    Probably this is either a connection problem, or plugin spec is incorrect.
    Check your connection and plugin name / version / URL.
    Failed to get absolute path to installed module

4- ionic cordova plugin list to check (despite the error i find it installed):
Cordova-plugin-camera 2.4.1 "Camera"
Cordova-plugin-compat 1.1.0 "Compat"
Cordova-plugin-console 1.0.5 "Console"
Cordova-plugin-device 1.1.4 "Device"
Cordova-plugin-image-picker 1.1.1 "ImagePicker"
Cordova-plugin-splashscreen 4.0.3 "Splashscreen"
Cordova-plugin-statusbar 2.2.1 "StatusBar"
Cordova-plugin-vibration 2.1.5 "Vibration"
Cordova-plugin-whitelist 1.3.1 "Whitelist"
De.appplant.cordova.plugin.local-notification 0.8.5 "LocalNotification"
Ionic-plugin-keyboard 2.2.1 "Keyboard"

5- ionic cordova plugin add cordova-plugin-x-toast Installed successfully.

Now I try to see if the app's notification works. Because cordova local notification it says error and then it is installed?

Update:
I tried to launch the app but the notification does not come out, in the console I have this error:
TypeError: Can not read property 'local' of undefined
At Object.schedule (file: ///android_asset/www/lib/ngCordova/dist/ng-cordova.js: 5042: 45)
At file: ///android_asset/www/js/controllers.js: 300: 43
At file: ///android_asset/www/lib/ionic/js/ionic.bundle.js: 56238: 19
At Object.ionic.Platform.ready (file: ///android_asset/www/lib/ionic/js/ionic.bundle.js: 2140: 9)
At Object.self.ready (file: ///android_asset/www/lib/ionic/js/ionic.bundle.js: 56231: 26)
At Scope. $ Scope.addFavorite (file: ///android_asset/www/js/controllers.js: 298: 30)
At fn (eval at (file: ///android_asset/www/lib/ionic/js/ionic.bundle.js: 27643: 15), : 4: 224)
At file: ///android_asset/www/lib/ionic/js/ionic.bundle.js: 65429: 9
At Scope. $ Eval (file: ///android_asset/www/lib/ionic/js/ionic.bundle.js: 30400: 28)
At file.exe (file: ///android_asset/www/lib/ionic/js/ionic.bundle.js: 30500: 25)

Ionic with stripe checkout integration(custom)

$
0
0

You've had good experiences with it? It was in beta the last time I thought about incorporating it, looks to be out of beta now. I guess it's going on the todo list!

I can't parse json ajax data

$
0
0

That URL is no valid JSON, so this won't be parseable anywhere.

Issue with InAppBrowserEvent in ionic

Ionic sound

$
0
0

Hi
I want to play audio in my app.but I cant use


Ionic image dont see

$
0
0

Hı,
I can't see the pictures.pictures looks on the localhost

I m use img

src2:string="https://i.cnnturk.com/ps/cnnturk/75/400x512/5911676d61361f1ad054e654.jpg";

OR

"../assets/......png"

Image_test

$
0
0

Please read your post again. Do you really think anyone can know what you problem is with this limited amount of information?

Extract one page out from Ionic static site

$
0
0

What exactly are you talking about? Can you link to some documentation what you are talking about?

How to write data to a csv file in ionic

$
0
0

Don't use Ionic.

Every language has its place. This is not the place for Ionic/Angular/JavaScript. Web technologies are not meant to write or normalize text files.

Time to ask Stack Overflow.

Device livereload get timed_out

$
0
0

Is this the correct IP of your computer in the network?
Is this accessible from your phone?

There are newer versions available for this - you should update. (Not that v2.x needs changes in index.html, documented in changelogs)

How to generate calendare page and connect it with firebase in ionic

Modal controller return object data and object data show in html

$
0
0

This code is really confusing because there is both a template variable and a controller property both named feedback_list, and one of them doesn't seem to be a list at all.


Remove top bar in windows

$
0
0

Try adding this to your navbar showWhen="android,ios"

For more see here

Side menu in separate file navigation

$
0
0

Can't speak to "proper", but life sure is easier if you just leave the menu in the app template. If you want the menu items themselves to be declared elsewhere, you can always put them in a provider and inject it in the app component. I don't see any benefit to trying to move the menu itself, though.

Extend Ionic component

$
0
0

Wouldn't this be extremely fragile? Ionic components' internal implementation is subject to change at any moment. App developers shouldn't be relying on any of it.

IonicBuildAndroidError

Issue with InAppBrowserEvent in ionic

$
0
0

Yes. is there any working example for it. I am not completely sure how to use on function in ionic

InAppBrowserObject.prototype.on

Viewing all 228535 articles
Browse latest View live


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