spree on heroku admin button icons displaying incorrectly - heroku

I deployed a spree app on heroku.
Locally everything works great, in the heroku app the icon in the buttons from the admin panel display incorrectly, making it a bit difficult to use. Example:
http://imgur.com/a/StRvI
any ideas?
thanks.

after rake asset:precomplie rename fontawesome icons images name
in public/assets/spree/backend/all-xxxx.css file with newly renamed images name
then git add .
commit
push to heroku
icon will be display on heroku.

Related

App icon not showing after playstore publishing

Iam having an issue, My app is fully ready and good to go, I have published the app on playstore and it's successfully got listed aswell. Know iam seeing that app icon is by default Android icon not my desired our wanted logo. If anyone know how to fix this please consider replying my question. I have attached a picture of it.
I tried to change app icon in launcher image assets in apk mode it's working fine. when iam generating signed bundle for play store publishing aab file is it's the issue.

Local Notifications Plugin - Image/Logo

I'm using Local Notifications Plugin for Xamarin, in a Xamarin Forms app.
(https://github.com/edsnider/LocalNotificationsPlugin)
I got it working, but I have a question about the logo beside the notification.
I doesn't understand the readme on GitHub.
Does anyone know how to change it?
(Both on Android and iOS).
Android Image
(I'm not allowed to post more than 2 links that's why I can't send pic on iOS)
Thanks!
Add the icon you want to use to your Android project (under the Resources folder). Make sure the Build Action is set to AndroidResource, this should be done automatically.
Then somewhere in your Android project, probably the MainActivity is a good place, add this line: LocalNotificationsImplementation.NotificationIconId = Resource.Drawable.YOUR_ICON_HERE.
Of course at the place of the YOUR_ICON_HERE you should enter the identifier of your icon, which is probably the filename without its extension of the file you added.
The Following are the steps to follow to change the icon in a flutter local Notification.
Resize the image you want to put to 72 x 72
Transfer the image into the Android-app-src-main-res- drawable folder.
Change the default icon of the Application in the AndroidManifest file to that you put in the drawable folder
Rerun the application and test the Flutter Local Notification and see if the changes appear.
Here are the results

is it Possible to install apk file from personal website without market like googleplay?

I'm making a website that offers apk file. Is it possible to install the apk directly to phone from my website when clicking the install button without market like google play?
I already try to make this but once i clicked install button, it only download the file and place to filemanager and did not install. Is it possible? if yes, how can i do that with php? Thanks for the help!
You can Install any android application in your phone, it can be from any e-mail,website or any other medium it doesn't matter.
To Install the outside app you must change the settings first.
Swipe down from the top of the screen and tap the Settings button.
Tap the Security button beneath the Personal subheading.
Scroll down to the Device Administration subheading, tap Unknown Sources, and OK in the following warning pop-up.
Sorry I cant tell you about PHP

Name of app is different after download

I just submitted an app. The name of the Xcode project is slightly different then the name I gave in my iTunes connect. For some reason after I download the app in the App Store it shows the name of my Xcode project. Is there a way to adjust this easily?
You have to update your app to App Store with adjusted .plist.
Change the Bundle Display Name in .plist to the name you want. Still, this requires to go through the App approval process again.

How to shutdown an app deployed on Heroku?

I have an app on Heroku which is being used by few users. However, I notice there are some data issues which I'd like to fix and stop the app in the mean time so users don't enter anything new.
Is there a way to stop the app on Heroku rather than destroying it? I see that restart server command is there... Although I don't see anything like 'stop'.
To completely 'stop' your app you can scale the web dynos down to zero which effectively takes all your app http-processes offline.
$ heroku ps:scale web=0
Scaling web processes... done, now running 0
http://devcenter.heroku.com/articles/maintenance-mode
If you’re deploying a large migration or need to disable access to your application for some length of time, you can use Heroku’s built in maintenance mode. It will serve a static page to all visitors, while still allowing you to run rake tasks or console commands.
$ heroku maintenance:on
Maintenance mode enabled.
and later
$ heroku maintenance:off
Maintenance mode disabled.
Simple steps from the Heroku Web
go to Dashboard
click in "Your App Name"
click in Resources tab
click in the Pencil icon (look the attached image)
Flip the switch to left
click in Confirm
Go to your dashboard on heroku. Select the app. There is a dynos section. Just pull the sliders for the dynos down, (a decrease in dynos is to the left), to the number of dynos you want to be running. The slider goes to 0. Then save your changes. Boom.
According to the comment below: there is a pencil icon that needs to be clicked to accomplish this. I have not checked - but am putting it here in case it helps.
You might have to be more specific and specify the app name as well (this is the name of the app as you have it in heroku). For example:
heroku ps:scale web=0 --app myAppName
Otherwise you might get the following message:
% heroku ps:scale web=0
Scaling dynos... failed
! No app specified.
! Run this command from an app folder or specify which app to use with --app APP.
You can disable the app using enable maintenance mode from the admin panel.
Go to settings tabs.
In bottom just before deleting the app. enable maintenance mode. see in the screenshot below.
To add to the answers above: if you want to stop Dyno using admin panel, the current solution on free tier:
Open App
In Overview tab, in "Dyno formation" section click on "Configure Dynos"
In the needed row of "Free Dynos" section, click on the pencil icon on the right
Click on the blue on/off control, and then click on "Confirm"
Hope this helps.
CMD:
install The Heroku CLI https://devcenter.heroku.com/articles/heroku-cli#download-and-install
press win+r, type "cmd" press enter
heroku login # login
heroku ps:scale worker=0 -a your_app_name
GIU:
https://dashboard.heroku.com/apps
Personal==> ==> Resources > click on Pencil Icon and drag to left side > confirm
then Dynos will go down.
If you are using eclipse plugin, double click on the app-name in My Heroku Applications. In Processes tab, press Scale Button. A small window will pop-up. Increase/decrease the count and just say OK.
To DELETE your Heroku app
This is for those looking to DELETE an app on their Heroku account.
Sometimes you end up here when trying to find out how to remove/delete an app.
WARNING: This is irreversible!
Go to your Heroku dashboard here
Select the app you want to delete.
Scroll down to the bottom of the settings page for that app.
Press the red Delete app... button.
1> Yes... There is pencil icon when we go to Personal==> <app name> ==>Resources
then click on Pencil Icon and drag to left side and Dynos will go down.
2> You can validate using Heroku cli
heroku logs --app {your-appname}
it worked for me.

Resources