How to use the Custom PackageName

packagename
advanced
tutorial
howto

(Diego Barreiro Pérez) #1

Our Custom PackageName option is based on AppyBuilder one, so to use it you should follow this “small” tutorial :sweat_smile:

image


How to set a Custom PackageName?

It’s not compulsory to set a custom package name, as Makeroid has already reserved for you one with this format: com.makeroid.email.appname, but if you want your app to look more professional, then you will want to set one
So, let’s proceed

First of all, make sure your app is NOT published in Google PlayStore, as they don’t allow PackageName changes after an app is posted
If you come from any other distribution and want to use original PackageName, then you should check this as it’s easier for beginner users

  1. You have my own and perfect app ready:


    But I don’t want to use default PackageName (in this case com.makeroid_diego_barreiro_perez.CustomPackageName

  2. Scroll down in Screen1 to a setting called Package Name and place there your desired PackageName:


    Now your app will be saved with the PackageName xyz.barreeeiroo.MyApp!

  3. Change all Open Another Screen methods!


    You will have to set a special way to Open Another Screen

    Copy those blocks in Screen1 ONLY and then change this ones:

    • Set in PRODUCTION_STATUS true if you are going to export APK, or false if you are going to use Companion
    • Set in USERNAME your Google Email without @gmail.com. For example, if you are [email protected] then you should type makeroidrocks
      In case your email has dots (as mine [email protected]) then replace dots with lower dashes: diego_barreiro_perez
    • Set in APPNAME the name of your project, in this case CustomPackageName

In other Screens, you must use something like this:


Maybe this seems a little bit complicated, but it’s the easiest way to use Custom PackageName in apps, as you can just move to the BackPack the OPEN_ANOTHER_SCREEN function

Here is a demo .AIA if you just want to copy blocks:


If you want to migrate from any other distribution such as :appinventor: or :thunkable: or :appybuilder: and you have published your app to PlayStore, you have two options to keep original PackageName:

  1. Use this method (the Custom PackageName)
  2. Use the Special PackageName method

We are still working on this to try to avoid using such quantity of blocks in order to change between Screens, so you can just use the old and easy block


Error After Package Name Changed
Imported screen not opening
Maker Champs
Cannot find screen!
Just joined the Makeroid Community
(Diego Barreiro Pérez) #3

(Diego Barreiro Pérez) #4

(Pme) #5

Hello ı miss this and ı cant use my old package name.Its uses app inventor package name how to rollback it?.I try fill blank package name area and downloaded project renamed with ai_ but its not work

how can i use without doing steps above like old
appinventor.ai_{yourEmail}.{yourAppName}.


(Pavitra Golchha) #6

Did you leave the package name field empty?


(Pme) #7

Yes, its empty


(Nathan) #8

So, I had the same issue but, with switching screens… I had a custom package name, I later found out that if its blank and you change the switch screen to the screen name of the screen you want to go to not “com.makeroid.YOURscreenHERE” it worked!


(Pme) #9

Sory but ı dont understand.My PAckage name field is empty when i try switch its show com.makeroid.ScreenName not found

How to fix it?

I just want use app inventor package name becasue my app already in google play

appinventor.ai_{yourEmail}.{yourAppName}.

I want use this without add prefix to change screen like old method: https://community.makeroid.io/clicks/track?url=https%3A%2F%2Fcommunity.makeroid.io%2Ft%2Fhow-to-use-the-special-package-names%2F296%3Fu%3Dbarreeeiroo&post_id=7615&topic_id=1547


(Sander Jochems) #10

@Ali_Aydin you can export your aia file and add ai_ at the start of your filename. then upload it again and you should have the appinventor packagename


(Pme) #11

Aldready tried it.My project name start with ai_ already so when i download ı dont need rename i try bu this not work.I try save app ass method and renamed my app t x downloaded aia and added ai_ to .aia file again not work


(Sander Jochems) #12

When you use the ai_, then the package name field is empty in the designer. Leave it that way


(Pme) #13

Package field empty, and used ai_ but still not work


(Sander Jochems) #14

Can you show me your blocks of switching screens?


(Pme) #15

I use right(Open Another Screnn: Soru). I use left one for my tests(Its my dirty code).My package name field is empty.When i use Soru(right) its say com.makeroid.Soru not found


(Diego Barreiro Pérez) #16

Oh, okey

I guess it’s due to that Variable
You set appinventor.ai_pmesystem.Bilgiler. while it must be only pmesystem.Bilgiler.


(Pme) #17

Hello barreeiroo
I dont use appinventor.ai_pmesystem.Bilgiler or other think when i use open another screen Method.I just try custom package name on my project Now I cant go back.Unable use app inventor package name like old method

I use old method for imported apps from other platfroms but its not work any more for my project i think my custom package name test broke it

How to go back and do not busy with #1 post steps

I uploaded my ai_ project but its not work for package name and when i try just open a screen and if package name field empty ı see com.makeroid.screenname not found


(Diego Barreiro Pérez) #18

Can you send me the .AIA?
I will try to fix it


(Hitesh K. Yadav) #19

the .aia has errors. not working :sweat::sweat::sweat:


(Ravi Kumar) #20

Try this. you should change your username in the block
customPackage.aia (3.3 KB)
customPackage.apk (2.4 MB)


Error After Package Name Changed
(Fahad Ahmad) #21

Thanks Ravi! That’s quite easy. :+1: