dansiegel / Mobile.BuildTools

The Mobile.BuildTools makes it easier to develop code bases in a clean, consistent, secure, and configurable way. Determine at Build which environment your app needs to run on, and what Client Secrets it should have. Plus many more amazing features!
http://mobilebuildtools.com
MIT License
228 stars 29 forks source link

Tokenized Manifest for .NET 7.0 MAUI does not have its tokens replaced #330

Closed Px7-941 closed 2 weeks ago

Px7-941 commented 1 year ago

Description

The tokenized values in the Info.plist or AndroidManifest.xml are not be replaced.

Reproduction Steps

Steps to reproduce the behavior:

  1. Tokenize any value in the Info.plist or AndroidManifest.xml with a "$tokenname$".
  2. Create a "Manifest_tokenname" entry with its value in appsettings.json.
  3. Configure the buildtools.json as shown here https://mobilebuildtools.com/manifests/
  4. Select Debug and [Android or iOS]-Device on Visual Studio for Mac.
  5. Run the project.
  6. Confirm that the tokenized values in the Info.plist or AndroidManifest.xml were not replaced.

Expected Behavior

The tokens should be replaced with their values. For Info.plist or AndroidManifest.xml.

Actual Behavior

The tokens inside Info.plist or AndroidManifest.xml were ignored.

Environment

eth-ellis commented 8 months ago

@Px7-941 Were you able to find a solution to this issue?

I am also experiencing this issue on my .NET 8 MAUI project.

dansiegel commented 2 weeks ago

duplicate #308