Code

Discussion on Barebone Ionic - Full Application

Discussion on Barebone Ionic - Full Application

By
Cart 801 sales

233 comments found.

Got error installing NPM 7896 error Barebone@0.0.0 postinstall: `./install.sh` 7896 error Exit status 1 7897 error Failed at the Barebone@0.0.0 postinstall script. 7897 error This is most likely a problem with the Barebone package,

What is your operating system?

I am getting this error on grunt build:

Execution Time (2015-08-23 11:29:37 UTC) loading tasks 4ms ??????????????? 31% copy:styles 8ms ????????????????????????????? 62% Total 13ms Warning: Error: File to import not found or unreadable: ../bower_components/ionic/scss/ionic. on line 22 of app/styles/main.scss Use --trace for backtrace. Use --force to continue. Aborted due to warnings.

I did npm install / bower install, clean bower cache, no joy… Any idea? The ionic folder is in bower_components, as is the scss folder with files.

Edit: changing line 22 in main.scss in app/styles/main.scss to this:

@import "../../bower_components/ionic/scss/ionic";

Fixed the problem, build is now successful :)

I did have to do a few things different from what the documentation said for install, but besides from that, great job skounis! Can’t wait to dive in, will do that next week somewhere.

Hi,

could you please share with me these different things you had to follow? Will help me to improve the documentation.

Thanks

it keep showing “please install Android target android-22” when “grunt build” in win7.

But the cordova seems don’t know the path of android SDK.

Can I copy the folder app to www and run “ionic serve”??

Hi, could you please run “grunt build—force” and “grunt build—force—verbose” and send me the log messages.

The output of these commands logged in the console will be long so you may better save them into a .txt file and send these files to me.

Thank you

Hi, Perfect!!! I fixed all Errors. 1. The Android SDK has a BIG problem, it will not check any lost files after installing. 2. It needs a blank directory named “www” under barebone-ionic. 3. It needs to install ruby and sass at first. Thanks for your help. Best Regards!!

Glad to hear that. Thank you for the update.

thanks for update “Network connection check” :-)

Thank you for your feedback. Do not hesitate to report back any issue and feature suggestion or even share with us your ideas.

How do I import this project into the android studio?

Generated android code could be edited in Android Studio. I do not know if this makes any sense however.

This is an Ionic/PhoneGap application using HTML/CSS/JS technologies. You could edit these files by using any Editor Sublime, Atom etc.

I am interested in purchasing. I just wanted to know if I set up Firebase Chat can I use the same chat rooms for this https://wordpress.org/support/plugin/chat-rooms-powered-by-firebase ?

in theory yes. I do not know however how chat and Firebase integration is implemented in this Wordpress script

In our case here is how Rooms are defined in Firebase: http://www.screencast.com/t/ycaqDjTiKAl

And how are retrieved and used in the code: http://www.screencast.com/t/mVEryPBlRr

Please let me know if this information helps

Edit in android studio?

Generated android code could be edited in Android Studio. I do not know if this makes any sense however.

This is an Ionic/PhoneGap application using HTML/CSS/JS technologies. You could edit these files by using any Editor Sublime, Atom etc.

Will I be able to see embedded Facebook videos in a post in the WordPress section? Can there be more than one radio station in the app?

Hi, I do not have tried Facebook Videos so far. If you have any link to Documentation or API reference I may give it a look.

More Radio stations could be added by creating clones of the Radio module.

https://developers.facebook.com/docs/plugins/embedded-video-player it embeds on my wordpress website perfectly. However, it doesn’t show up on my current ionic app worpress app. Same thing with instagram and soundcloud. I was hoping I could switch to your app as a solution

Could you please provide us the URL to your website where the pages with the embedded video are? We will try to check the options to display the videos within the application view.

Please share also the JSON URL.

In the case you are not feeling comfortable to disclose this information in a public post you may send me a Private Message (http://codecanyon.net/user/skounis)

Hi, what are the requirement for the development machine that should be used?

Hi, first a MacOS box is recommended since iOS builds are possible only under this platform. A Windows or Linux based box could be used but only for Android builds.

The web version of the app works in any platform.

In both cases the following tools and technologies are required:

1. Phone Gap http://phonegap.com/install/
2. Ionic http://ionicframework.com/getting-started/
3. NodeJS https://nodejs.org/
4. Bower http://bower.io/#install-bower
5. Grunt http://gruntjs.com/getting-started

SASS support is part of the architecture of the application so Ruby and SASS gem are required.

1. Ruby https://www.ruby-lang.org/en/
2. SASS http://sass-lang.com/install

For Windows Ruby Installer is recommended: http://rubyinstaller.org/downloads/

Please keep in note that this is not a dead-simple ionic workspace. It is a Grunt based workspace which comes with plenty of automations, like live reload, source files monitoring for changes, files aggregation, SASS preprocessing, Environment variables etc.

In short I could say that the workspace is a slightly improved version of what the Yeoman Ionic Generator suggests https://github.com/diegonetto/generator-ionic

Please do not hesitate to come back for any additional information or clarification you may need, or contact me directly by sending a Private Message.

Thank you

It stuck at ‘Warning: Running sass:dist’, ‘Warning: spawn sass Enoent Use’. Can U help, thanks.

Could you please share se screen captures with me and information about your dev box (os, version, etc). These will help me to figure out what is causing your issues.

Please send these information by using a private message in order to establish a communication channel through email

What kind of payment gateways are or could be implemented? How does the payment gateways process work?

Currently there are no any gateway integration. If you have any suggestion however feel more than welcome to share it with us.

We taking all the suggestion under consideration.

i need a iOS push but i can’t find a code help me please..

I solved

Thank you for the update.

Hi, I am having some issues, I just downloaded version 2.1 and the rss feeds don’t seem to work(It just shows the spinners). Also when i press play on the live radio feature, I get an error message saying “TypeError: window.Stream is not a constructor”. What do I do?

Hi a new .apk build corresponding to the 2.2.0 version is ready and available in this link

https://drive.google.com/file/d/0BznpIOFHXC-VVUxaVDBLeUNNQ3c/view?usp=sharing

It’s working perfectly now, thank you very much for the help!

Thank you for the update. Glad to hear that your issues have been resolved.

I wanted to make a radio broadcast in the application. Today came the update on the topic. Thanks :)

Thank you for the message. Do not hesitate to come back if you have any question.

Hello, quick question for you.

The first time I used this design the header/navigation area looked perfect, exactly as it does in your initial work, save for different background and text colors. The second time I used this template, which is a variation on my initial customization of your design, I get this layering effect in the header/navigation area that is setting itself below the main iOS time, carrier, battery info. Also, the content doesn’t bounce any more when scrolling up/down. I don’t believe I consciously edited the height of the nav area and the bounce effect. Could you assist in locating the file and where in the code to re-enable the height/positioning of the nav and the bounce effect?

Please follow this link for a screen shot – any help is appreciated. Thank you for making a great, flexible, customizable template!

Screenshot

This is an issue I’m also facing without to be able to locate the very reason why this is happening. I’m pretty sure however that this is related to ionic.

I’m managing to resolve this be removing and adding again the ios platform:
$ grunt platform:remove:ios
$ grunt platform:add:ios
$ionic platform remove ios
$ionic platform add ios
$ cordova platform remove ios
$ cordova platform add ios

Please let me know when your issue is resolved.

Thank you

It is related to Ionic. I coincidentally found the solution in a comment on the ionicframework forum, but your explanation is much more succinct. Thank you for the quick response and solution to the issue.

Thank you for the update.

styloola

this happened to me as well, I had to create an app for android and iphone,

$ cordova platform add ios $ cordova platform add android

inside the barebone-ionic folder

“lkpttrsn” thank you for the hint. Platforms could be added by using “grunt” also.

$ grunt platform:add:ios
$ grunt platform:add:android

More information about the grunt tasks the workspace is coming with are available here https://github.com/diegonetto/generator-ionic

I received the error “Current working directory is not a Cordova-based project.” while installing the product for the first time. I followed the instructions successfully in the Quick Start Guide up to page 4, but the command “cordova plugin add cordova-plugin-inappbrowser” caused the error. I was in the directory barebone-ionic. I’m using a Mac and I already created basic working ionic apps.

Please let me know if you were able to prepare your system of I you are still facing issues. In the latter case please provide information about your operating system.

I executed npm install grunt-contrib-sass—save-dev but the error remains. I bought several items on Envato properties and is the first time that the documentation is not updated and every step is not clearly shown and double checked

All the additions since version 1.7 are not requiring any particular documentation. According to the message you should properly install the SASS module of grunt. This modude requires Ruby and SASS installed in the dev environment. How to prepare the environment in order to have this module working well is documented in its web page.

I could however collect these and provide them to you.

If you are getting any different message from these you have already mentioned please post them here.

You could also send me a Private Message in order for us to establish a more direct communication channels. Please keep in mind to mention also your time zone.

How can I change the homepage to start with a different page, for example the news page

Please open the corresponding .module file and check the “url” property of the state you would like to use.

in the case of “News” this should be “app/articles”

http://www.screencast.com/t/lytjd36Vfe

on the new 1.8 i am getting an error now when i run the grunt serve—lab, it still works when i run it on the older version project, but the new one it opens the browser, and refuses the connection.

from terminal: Running “concurrent:server” (concurrent) task

Loading "connect.js" tasks...ERROR
>> Error: Cannot find module 'depd'
Loading "grunt-karma.js" tasks...ERROR
>> Error: Cannot find module 'depd'
Running "copy:vendor" (copy) task
Done, without errors.
Execution Time (2015-06-30 18:36:55 UTC)
loading tasks  6ms  ??????????????????? 40%
copy:vendor    8ms  ?????????????????????????? 53%
Total 15ms
Loading "connect.js" tasks...ERROR
>> Error: Cannot find module 'depd'
Loading "grunt-karma.js" tasks...ERROR
>> Error: Cannot find module 'depd'
Running "copy:styles" (copy) task
Copied 2 files
Done, without errors.
Execution Time (2015-06-30 18:36:55 UTC)
loading tasks   7ms  ?????????????? 29%
copy:styles    17ms  ?????????????????????????????????? 71%
Total 24ms
Loading "connect.js" tasks...ERROR
>> Error: Cannot find module 'depd'
Loading "grunt-karma.js" tasks...ERROR
>> Error: Cannot find module 'depd'
Running "copy:fonts" (copy) task
Done, without errors.
Execution Time (2015-06-30 18:36:55 UTC)
loading tasks  5ms  ??????????????????? 38%
copy:fonts     8ms  ????????????????????????????? 62%
Total 13ms

Running “autoprefixer:dist” (autoprefixer) task Autoprefixer’s process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead File .temp/styles/main.css created. Autoprefixer’s process() method is deprecated and will removed in next major release. Use postcss([autoprefixer]).process() instead File .temp/styles/style.css created.

Running “newer:copy:app” (newer) task

Running “copy:app” (copy) task Created 88 directories, copied 616 files

Running “newer-postrun:copy:app:1:/Users/jpatterson/Desktop/barbo/project/barebone-ionic/node_modules/grunt-newer/.cache” (newer-postrun) task

Running “newer:copy:tmp” (newer) task

Running “copy:tmp” (copy) task Copied 2 files

Running “newer-postrun:copy:tmp:2:/Users/jpatterson/Desktop/barbo/project/barebone-ionic/node_modules/grunt-newer/.cache” (newer-postrun) task

Running “concurrent:ionic” (concurrent) task Loading “connect.js” tasks…ERROR >> Error: Cannot find module ‘depd’ Loading “connect.js” tasks…ERROR >> Error: Cannot find module ‘depd’ Loading “grunt-karma.js” tasks…ERROR >> Error: Cannot find module ‘depd’ Loading “grunt-karma.js” tasks…ERROR >> Error: Cannot find module ‘depd’

Running “ionic:serve” (ionic) task

Running “watch” task Waiting… Running live reload server: http://localhost:35729 Watching : [ ‘www//’, ’!www/lib//’ ] Running dev server: http://localhost:8100 Ionic server commands, enter: restart or r to restart the client app from the root goto or g and a url to have the app navigate to the given url consolelogs or c to enable/disable console log output serverlogs or s to enable/disable server log output quit or q to shutdown the server and exit

ionic $ Done, without errors.

Execution Time (2015-06-30 18:36:57 UTC) ionic:serve 1.3s ????????????????????????????????????????????????? 100% Total 1.3s

from browser:

This webpage is not available

ERR_CONNECTION_REFUSED

There is a recent update of the ”grunt-concurrent” module which has a bug.

Please edit the package.json file and replace the entry
"grunt-concurrent": "~1.0.0",
with:
"grunt-concurrent": "1.0.0",

This will force “npm install” to stay with the 1.0.0 version of this module.

Then remove the content of the “node_modules” and run: npm install then you will be able to start the application by using “grunt serve” or “grunt emulate:ios”

hi, congratulations for your job. It’s great.

Please, can you provide an example about how to login to a drupal account?

Thanks

The proper configuration of Drupal in order to be able to receive authenticated API calls is something I could not help you with. If you prepare your Drupal site I could provide you details on how the mobile application could be configured and used.

Ok, I will try.Thanks!

Thank you for the update

Hi, the project include less or sass?

Hi, this is in our roadmap and will be a part of the project very soon.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey