Search Feedback

41
votes

Make BundleVersion available at runtime (just like ProductName and BundleIdentifier)

Runtime

-

-

BundleVersion is currently only available through the PlayerSettings, which is only available in the Editor. Having access to the bundle version can be useful for many things, including:

- analytics,
- update notifications,
- exception handling,
- remote debugging,
- customer service,
- save-file compatibility checks,
- etc.

Suggestion: it could be available through Application.bundleVersion, exactly like Application.bundleIdentifier and Application.productName.

Comments (3)

  1. C09f9b89bd30c527fa0e6b1d61d40bc4?d=mm

    Arkaid

    Dec 14, 2015 22:33

    Bundle Version and Bundle Identifier are iOS only terms. I don't know if it would make much sense to have them in runtime for only a single platform.

    Instead, may I suggest doing a more cross-platform solution, like using project wide defines and set up your own versioning system.

    In any case, it wouldn't take much effort to write an iOS plugin to get those values, I think :)

  2. 44e357f49573936b266bb816ffbd452b?d=mm

    _Adriaan

    Dec 14, 2015 16:50

    Note that Application.version returns Unity's version number - not the application's version number!

  3. F3c41659eb586892b351a078ba9c4fb3?d=mm

    coshea

    Dec 14, 2015 16:30

    Yes please! For Android and iOS

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10889)

2D

(287)

Ads

(57)

AI & Navigation

(81)

Analytics

(130)

Animation

(406)

Asset Store

(364)

Asset Store Publisher

(19)

Assets

(551)

Audio

(185)

Cloud Build

(148)

Collaborate

(68)

Docs & Tutorials

(247)

Editor

(2545)

Everyplay

(17)

Game Performance Reporting

(21)

General

(987)

Graphics

(894)

GUI

(442)

Input

(173)

Licensing

(93)

Networking

(190)

Physics

(387)

Platforms

(445)

Profiling & Optimization

(84)

Runtime

(185)

Scripting

(1141)

Terrain

(174)

WebGL

(142)