Code Monkey home page Code Monkey logo

Comments (7)

jmpascal avatar jmpascal commented on September 23, 2024

Aloah,

Really sorry for the inconvenience. We are aware there's some missing part inside the documentation
We plan to update this section soon. Until that we are happy to provide help if you can provide more information and stacktrace.

Thanks in advance.

from alfresco-android-app.

ostwalankit avatar ostwalankit commented on September 23, 2024

Hi jmpascal ,I am glad you replied. Thanks for responding. Still could not find a solution.

I worked on alfresco community source code . Modified it according to my requirements. It works all good. But now i want to host this app (apk) on play store, so i am bound to change package name. As soon as i change package name and build apk for release and run , app crashes.

Stacktrace says,

Error during Operation creation : org.alfresco.mobile.android.platform.accounts.DefaultAccountManager

Error during Operation creation : org.alfresco.mobile.android.application.extension.analytics.GAnalyticsManagerImpl

Error during Operation creation : org.alfresco.mobile.android.platform.accounts.DefaultAccountManager

If you can provide some assistance , it would be great.

Thank you,

Best Regards,
Ankit.

from alfresco-android-app.

flaviosuardi avatar flaviosuardi commented on September 23, 2024

Hi,
@ostwalankit have you find a solution for this problem? I faced it right now. Did you try to just rename applicationId in gradle and publish the app on google play?
I found there are a lot of reference of org.alfresco.mobile.android package in many xml configuration files so it's quite hard to refactor all of these and be able to compile the app.

Thank you.

Flavio

from alfresco-android-app.

shikoko avatar shikoko commented on September 23, 2024

Hello,
@flaviosuardi from your comment I understand (correct me if I'm wrong) that you're trying to refactor all the references of org.alfresco.mobile.android. However in https://github.com/Alfresco/alfresco-android-app/wiki/Create-Custom-Application you can see that there are 4 keys that you have to rename

  • APPLICATION_ID to org.custom.app
  • PROVIDER_AUTHORITY to org.custom.provider
  • ACCOUNT_ID to org.custom.account
  • SYNC_ADAPTER to org.custom.provider.sync

as well as the app's name and icon.

Does this help you?
Bogdan

from alfresco-android-app.

ostwalankit avatar ostwalankit commented on September 23, 2024

Hi @flaviosuardi , no i didn't find any solution to it. If you rename packages , app starts crashing. Let me know if you are able to figure out any solution to this. Thank you..

from alfresco-android-app.

flaviosuardi avatar flaviosuardi commented on September 23, 2024

@shikoko: yes, I renamed that 4 keys but I didn't know if google play could reject the app if package name and application id are different. Furthermore if application id and package name are different, are there any problems with all app functions?

@ostwalankit The app crash because there are a lot of references of package name in many xml files configuration. One of them if config_default_managers.xml in foundation module. Anyway if you look the log when the app crashes you can find the name of the unfound class and fix it one by one.

Flavio

from alfresco-android-app.

agologan avatar agologan commented on September 23, 2024

Closed due to inactivity. Please open a new ticket if problem still persists.

from alfresco-android-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.