Jump to content

HERO System Mobile


sentry0
 Share

Recommended Posts

Looks like I need to upgrade some libs in order to run the app on the current simulator.

 

This will take some time to do but I should be able to do it soon.

 

FYI - the best I could do was to find a simulator for an iPhone 5s... hopefully the bug shows up on that phone.

Link to comment
Share on other sites

I have been working away at the issue reported by @ThePJNinja which was a simple fix to the height of section headers so they no longer clipped at the bottom.  When I went to investigate I discovered it was clipping on my device which is weird because it wasn't before.

 

At any rate, in order to compile the app for iOS I needed to upgrade my core framework (React Native) to 0.64.1.  This meant a lot of things broke and I also discovered that a couple of libs I was using are no longer maintained or compatible with Android 11.  Not a huge deal, I was sort of expecting some of the work as I have been building other apps and new some of the libs in HSM were in need of a swap out.

 

Although the outward appearance is largely the same, just about all of the plumbing has been upgraded.  These types of changes are best tested before I push a production build to the app stores so I will be linking open beta invitations in this forum once I have beta builds compiled for Android/iOS.

 

I'll add the links tonight or tomorrow depending on how things go in iOS land.

 

Now is an excellent time to report bugs or ask for features as I am in the codebase already, so don't be shy and DM me or leave a comment here.

Link to comment
Share on other sites

The beta builds have been created and approved for testing by Apple and Google.  

 

Here are the links you can use to join the beta:

If you see anything funky or find a bug DM me here, email me at phil.guinchard@gmail.com, or leave a note here

Link to comment
Share on other sites

I'm sort of in a pickle with Android 11 right now.  The gist of it is that HSM writes to your internal storage which is why you get prompted for file access.  This was not a problem before but Google has decided to clamp down on apps that do this and now require me to fill in a form to explain why I need this access.

 

I can always write the data to the apps protected data area which means it becomes less accessible.  Not a huge deal for the average person.  The issue I have is that I don't really have a business need to write outside the protected space as I do now.  This means that users of the app would have to re-import characters at some point.

 

It would mean that people would lose their notes, equipment, and current combat state when they re-import.  The only alternative I can see is to make some sort of intermediary build that has a tool to automatically import characters from the old location to the new.  I'm on the fence though with the work involved, the timeframe needed to do this as imposed by Google, vs the payoff. 

 

What do people think?  Would you be pissed if you had to re-import your characters or is this not really an issue?

 

I should call out, this only affects Android users.

Link to comment
Share on other sites

On 5/16/2021 at 10:17 PM, sentry0 said:

I'm sort of in a pickle with Android 11 right now.  The gist of it is that HSM writes to your internal storage which is why you get prompted for file access.  This was not a problem before but Google has decided to clamp down on apps that do this and now require me to fill in a form to explain why I need this access.

 

I can always write the data to the apps protected data area which means it becomes less accessible.  Not a huge deal for the average person.  The issue I have is that I don't really have a business need to write outside the protected space as I do now.  This means that users of the app would have to re-import characters at some point.

 

It would mean that people would lose their notes, equipment, and current combat state when they re-import.  The only alternative I can see is to make some sort of intermediary build that has a tool to automatically import characters from the old location to the new.  I'm on the fence though with the work involved, the timeframe needed to do this as imposed by Google, vs the payoff. 

 

What do people think?  Would you be pissed if you had to re-import your characters or is this not really an issue?

 

I should call out, this only affects Android users.

 

I have made it so that you may import old characters directly.  The app no longer requires special file permissions which is a bonus but you will still have to import your characters on Android again.

 

If you touch the "Import" button on the Characters screen and navigate to your device type name on the menu there will be a folder called "HEROSystemMobile".  That folder has all your existing characters in it and you may import them one at a time.

 

I need to do some more testing but I am planning on pushing a new beta build sometime this weekend.

Link to comment
Share on other sites

A new build is rolling out to the app stores with the changes to Android devices dicussed above.

 

When you grab the latest Android build and all your characters are gone DON'T PANIC.  They're still around and you cen fetch them by:

  • Go to the "Characters" screen
  • Press the "Import" button
  • Select your divice name from the left hand menu (mine says Pixel 5, for example)
  • Open the folder "HEROSystemMobile", then open the "character" subfolder
  • Touch any character to import them

Other than that there's been some tweaks to spacing on the app sliders and a fix to Cruncher tool which wasn't incrementing/decrementing in 1/4 steps.

 

It's still not too late to join the beta, click on the links below to sign up.  Note that it can take some times for the new builds to become active so be patient.

Link to comment
Share on other sites

The status effect tracker was broken during my lib upgrades so I decided to take a minute and upgrade it a bit.  I did away with the old autocomplete for picking your affected characteristic or power for Drain/Aid.  The replacement is a new multiselect UI with a search option as shown below.

 

spacer.png

 

One final note, if you're looking for the source code for the project it's been moved to here - https://github.com/slackdaystudio/hero-system-mobile

Link to comment
Share on other sites

10 minutes ago, Amorkca said:

Is there anymore testing to be done on the IOS version?  The Cruncher sliders are great!

 

I'll be pushing an update this weekend that will have the new status effect UI changes.  I haven't come across anything else that broke during the upgrade so with any luck this will be the last beta 🙂

Link to comment
Share on other sites

Ok, I couldn't sleep tonight so I ended up doing some work on the app and pushing it to the app stores.

 

What you can expect:

  • Added a new UI for selected affected characteristics/powers on the status UI
  • Fixed an issue that was causing extra whitespace to appear at the bottom of certain iPhone models
  • Fixed a header spacing issue on certain models of iPhone
  • Fixed a white flickering when transitioning between screens

The updated beta builds will probably be hitting your phone this weekend at some point.

 

Join the beta here:

Link to comment
Share on other sites

4 hours ago, Amorkca said:

Got this error message today. Not sure if it’s relevant 

 

Thanks for the bug report and including the screenshot of the issue, always a good a good idea :)

 

It looks like you're running on an iPad which is good to know as well because iPad is treated slightly differently in code when loading characters than iPhone.

 

I suspect the brackets in the character name is the issue... I'll see if I can reproduce it on my end.

Link to comment
Share on other sites

Yes, I’m on an iPad. The iPhone is too small for my old eyes...

 

interesting note, is I get that message after I’ve opened the app, been using the character sheet, but switch to another character in the list...

Link to comment
Share on other sites

38 minutes ago, Amorkca said:

Yes, I’m on an iPad. The iPhone is too small for my old eyes...

 

interesting note, is I get that message after I’ve opened the app, been using the character sheet, but switch to another character in the list...

 

Good to know as I tried reproducing it by loading a character with brackets in the name but it seemed to work fine.

 

I will see if I can cause the bug by using the steps you outlined.

Link to comment
Share on other sites

On 6/3/2021 at 4:52 PM, Amorkca said:

Yes, I’m on an iPad. The iPhone is too small for my old eyes...

 

interesting note, is I get that message after I’ve opened the app, been using the character sheet, but switch to another character in the list...

 

I can't seem to get this bug to happen.  This probably means there an issue with your app cache, try cleaning it by going into settings.

Link to comment
Share on other sites

I am rolling out the 1.8.0 build to Apple, Android, and Amazon app stores as I write this.  This is more a foundational build which fixes some display bugs and makes a major change to how characters are saved for Android.

 

It took 24 days and multiple beta builds but it is time to push this to production.  I want to extend my personal thanks to everyone who tried the beta builds!  I especially wanted to thank those of you who offered bug reports and feedback, it's really important that I recieve this in order to make the app better.

 

What you can expect in the 1.8.0 builld:

  • MAJOR CHANGE (Android ONLY) The app will no longer require file system access however you will need to re-import your characters (https://bit.ly/3waTWZD)
  • Replaced the autocomplete on the status dialog with a new UI
  • Fixed a display issue with section headings
  • Fixed a bug with header spacing on some iPhone models
  • Fixed a bug which caused extra whitespace to show at the bottom of some iPhone models
  • Fixed a white screen flicker which could happen during screen transition

Assuming things progress through the approval process without issue you should see the new build early this week.

Link to comment
Share on other sites

  • 2 weeks later...

I'm going push a new build to stores to turn a feature on for Android users.  Since I moved where characters are stored into the protected app space I can leverage the backup features of that platform.  This feature is disabled by default in the framework I use to develop in so it would require a small update.

 

HERO System Mobile 2.0

At the same time I am debating on finally taking the plunge and removing support for the old way of loading characters which required you to export your character from HD using an export template.  There's been a warning informing users that this method is depreciated for a long time now, like over a year.  This would be a true 2.0 version of the app as it would no longer support the old file format.

 

The only question I have is does anyone still use the old export format and why?

 

Let me know if you use the old export template and why so I can fix any lingering bugs with the new way of reading in characters.

Link to comment
Share on other sites

The 2.0.0 build of HERO System Mobile has been pushed to the app stores.  This milestone build fully removes the ability to load old characters who were exported from Hero Designer using the XML export template in favor of loading characters directly from Hero Designer files.

 

What you can expect:

  • Removed support for loading characters using the old export template
  • The app will now be backed up if you use the Android backup feature
  • Fixed a spacing issue on the side panel with certain iPhone models
  • Updated the side panel menu item "Free Form" to be "Effect"

As always, report any bugs to me directly or in this thread.

Link to comment
Share on other sites

  • 4 months later...
On 6/20/2021 at 3:54 PM, sentry0 said:

The 2.0.0 build of HERO System Mobile has been pushed to the app stores.  This milestone build fully removes the ability to load old characters who were exported from Hero Designer using the XML export template in favor of loading characters directly from Hero Designer files.

 

 

Hello! I've not used the app in a long time, back when it was 1.X something. But I am trying to get it to load my 5th edition hdc files.

 

Of the three characters I have attempted to view, only one has worked and displayed (and it looks pretty great). However the other two give me the following error:

Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.

 

I have NO idea what that means! :D 

 

The three characters all work normally in HD, can be exported normally, etc. Not sure why one works and the others do not? The Psi-Blade one works (mostly), but the other two do not? Any help getting them to display would be tremendously helpful!

 

Also, I noticed some errors in the Psi-Blade's Elemental Control. The Real Cost is off for every slot (one slot even costs -10 real points). Not a big deal, but figured I would flag it up. Also her Telekenitic Blade attack from the Multipower doesn't display damage from full strength (she has non-augmented strength and augmented strength, which is shown on the character as 'secondary' strength, I guess that is why it isn't picked up?). 

 

Oh, another issue I just noticed, she has Mental Defense and it only shows it as 5 points (the active points of her Mental Def, not her total including the free points from ego). 

Solarialow.hdc AdamantineRebuild210109.hdc Psi-Blade6.hdc

Link to comment
Share on other sites

3 hours ago, sentry0 said:

Thanks for the bug report and including your characters, I'll have a look and see what I can do.

Thank you for looking into it for me! I really appreciate it and really appreciate your effort in creating this app!

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...