Platforms to show: All Mac Windows Linux Cross-Platform

UnsanitySmartCrashReporterMBS.CanInstall as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Check whether this library can install Smart Crash Reports on user's system.
Notes:
Returns TRUE if Smart Crash Reports can be installed, or FALSE if they are already installed (of the same or newer version).
See the Unsanity Smart Crash Reports SDK for more details.

See also:

Some examples using this method:

UnsanitySmartCrashReporterMBS.CanInstall(byref AuthenticationWillBeRequired as boolean) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Check whether this library can install Smart Crash Reports on user's system.
Notes:
outOptionalAuthenticationWillBeRequired: the Boolean the param points to will be set to TRUE if an authentication will be required to install Smart Crash Reports.
Returns TRUE if Smart Crash Reports can be installed, or FALSE if they are already installed (of the same or newer version).
See the Unsanity Smart Crash Reports SDK for more details.

See also:

UnsanitySmartCrashReporterMBS.Install(inInstallFlags as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Attempt to install Smart Crash Reports on user's system.
Notes:
Presents a dialog asking the user if he/she want to install Smart Crash Reports, along with a link for more information, and Don't Show Again checkbox, and, if confirmed by the user, installs Smart Crash Reports from the library's archive, if possible. The confirmation dialog will block the host application until the user makes the choice.

inInstallFlags: A bit mask containing the installation options.
Returns an error code.

See the Unsanity Smart Crash Reports SDK for more details.
UnsanitySmartCrashReporterMBS.InstallableVersion as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Get the version of Smart Crash Reports that this library can install.
Notes:
Returns an unsigned integer containing the version of Smart Crash Reports (in CFBundleGetVersionNumber() format) bundled in this library.
See the Unsanity Smart Crash Reports SDK for more details.

Some examples using this method:

UnsanitySmartCrashReporterMBS.InstalledVersion as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Get the version of Smart Crash Reports installed on user's system.
Notes:
Returns an unsigned integer containing the version of Smart Crash Reports (in CFBundleGetVersionNumber() format), or 0 if Smart Crash Reports are not installed.
See the Unsanity Smart Crash Reports SDK for more details.

See also:

Some examples using this method:

UnsanitySmartCrashReporterMBS.InstalledVersion(byref IsInstalledGlobally as boolean) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Get the version of Smart Crash Reports installed on user's system.
Notes:
IsInstalledGlobally: The Boolean the param points to will hold TRUE if Smart Crash Reports are installed for all users, or FALSE if they are installed for the current user only.
Returns an unsigned integer containing the version of Smart Crash Reports (in CFBundleGetVersionNumber() format), or 0 if Smart Crash Reports are not installed.
See the Unsanity Smart Crash Reports SDK for more details.

See also:

UnsanitySmartCrashReporterMBS.IsMatchSpecifierRegistered(inMatchString as string) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Query whether the match specifier is registered with the Smart Crash Reports system.
Notes:
Queries whether the product is registered with the Smart Crash Reports system.

inMatchString: The match string to query for. Note that SCR will perform partial matches search, too, so for example if you have "com.mycompany" registered, and you query against "com.mycompany.otherapp", this function will return positive result.

See the Unsanity Smart Crash Reports SDK for more details.

See also:

Some examples using this method:

UnsanitySmartCrashReporterMBS.IsMatchSpecifierRegistered(inMatchString as string, byref RealMatchString as string) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Query whether the match specifier is registered with the Smart Crash Reports system.
Notes:
Queries whether the product is registered with the Smart Crash Reports system.

inMatchString: The match string to query for. Note that SCR will perform partial matches search, too, so for example if you have "com.mycompany" registered, and you query against "com.mycompany.otherapp", this function will return positive result.
outOptionalRealMatchString: This variable will contain the "real" match string that SCR contains in the database. You can use it in calls to UnregisterProduct later, if you want.

Result:
0: The match string you have provided is not registered with SCR.
1: The match string you have provided is registered with SCR.
-1: inMatchString is "" or function not available.

See the Unsanity Smart Crash Reports SDK for more details.

See also:

UnsanitySmartCrashReporterMBS.RegisterMatchSpecifier(inMatchString as string, inCompanyName as string,inSubmissionURL as string, inSubmissionEmailTicket as string, inOptionalCommentsTemplate as string="") as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Registers your match specifier with the Smart Crash Reports system.
Notes:
Register your match specifier with the Smart Crash Reports system. Once this call is done, crash reports containing inMatchString in the crashed thread will be submitted to you, either to the submission URL (you have to implement the script on your web server), or to the submission email (Unsanity server will
forward the report to you).

inMatchString:The product ID string to match or "" to use the current bundle identifier. Normally, this is a part of a CFBundleIdentifier of your product. For example, if your product CFBundleIdentifier is "com.mycompany.myapp", it is a good idea to set inProductIDMatchString to "com.mycompany.", since it will catch all of the products of your company. If you pass "" to this argument, an attempt to use CFBundleIdentifier from the main bundle will be used, which is handy for most applications out there, but not acceptable for Contextual Menu Modules, Preference Panes and other plugins.
inCompanyName:The company name in user-readable format. Smart Crash Reports will substitute "Apple" with this string, so make sure it's not too long. Example: "My Company"
inSubmissionURL:The full URL to the script on your Web server that will handle the submissions, or "" if you prefer the crash report to be sent to you via email (in this case, inSubmissionEmail must be not ""). Example: "http://www.mycompany.com/cgi-bin/processor.cgi"
inSubmissionEmailTicket:The email ticket for email you wish to receive crash report at, or "" if you are handling it yourself on your web server. If this is set, Unsanity server will handle the submission and email you the crash log. Important: this is NOT the email address. It is a unique email ticket that you have to register with Unsanity by going to http://www.unsanity.com/goto/email-ticket/. This is done for email verification purposes, and also to not expose your real email to end users, if they peek inside of the SCR database somehow
inOptionalCommentsTemplate:this string will be inserted into the "Description" field of the CrashReporter dialog. This can be useful if you want to put something like "Put your email here if you wish to be contacted by the developer regarding this crash log", or anything else.

Result codes:
noErr=0Registration successful. If there is already such a match specifier registered, it is replaced with the fresh information supplied to this call.
paramErr=-50inSubmissionURL and inSubmissionEmailTicket are "", or inMatchString is "", or inCompanyName is ""
cNoMemErr=-152Not enough memory to perform selected operation.
permErr=-54Not enough permissions to write changes to disk.
bdNamErr-37The match string is malformed, or too wide to be accepted (don't try to register "com.", etc!)

See the Unsanity Smart Crash Reports SDK for more details.

Some examples using this method:

UnsanitySmartCrashReporterMBS.UnregisterMatchSpecifier(inMatchString as string) as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Unsanity Smart Crash Reporter MBS MacOSX Plugin 8.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Function: Unregisters your product(s) with the Smart Crash Reports system.
Notes:
Unregisters your product(s) with the Smart Crash Reports system. Performing this call will cause Smart Crash Reports to stop submitting bug reports for the inMatchString provided. Note that for this call to succeed, inMatchString must exactly match the one used in call to RegisterProduct.

inMatchString: The match string to unregister. This must be the same match string as used in the RegisterProduct call before.

Result:
noErr=0Unregistration successful.
paramErr=-50inMatchString is ""
cNoMemErr=-152Not enough memory to perform selected operation.
permErr=-54Not enough permissions to write changes to disk.
fnfErr=-43The provided inMatchString was not found in the mart Crash Reports database. You can safely ignore this error, as it means that the match string you've provided does not exist already.

See the Unsanity Smart Crash Reports SDK for more details.

Some examples using this method:

The items on this page are in the following plugins: MBS MacOSX Plugin.

Feedback: Report problem or ask question.

The biggest plugin in space...